mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
7140882: Don't return booleans from methods returning pointers
Changed "return false" to "return NULL" Reviewed-by: dholmes, rottenha
This commit is contained in:
parent
ec891da5a7
commit
ce79f12b7b
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -898,7 +898,7 @@ Node *LoopLimitNode::Identity( PhaseTransform *phase ) {
|
|||
Node* CountedLoopNode::match_incr_with_optional_truncation(
|
||||
Node* expr, Node** trunc1, Node** trunc2, const TypeInt** trunc_type) {
|
||||
// Quick cutouts:
|
||||
if (expr == NULL || expr->req() != 3) return false;
|
||||
if (expr == NULL || expr->req() != 3) return NULL;
|
||||
|
||||
Node *t1 = NULL;
|
||||
Node *t2 = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue