8027353: Exact intrinsics: assert(n != NULL) failed: must not be null

Mon, 28 Oct 2013 08:34:10 +0100

author
rbackman
date
Mon, 28 Oct 2013 08:34:10 +0100
changeset 6048
a57a165b8296
parent 6047
fc1632f5021a
child 6049
60a32bb8ff99

8027353: Exact intrinsics: assert(n != NULL) failed: must not be null
Reviewed-by: kvn, roland

src/share/vm/opto/library_call.cpp file | annotate | diff | comparison | revisions
test/compiler/intrinsics/mathexact/SubExactLConstantTest.java file | annotate | diff | comparison | revisions
test/compiler/intrinsics/mathexact/SubExactLNonConstantTest.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/opto/library_call.cpp	Mon Oct 28 17:32:02 2013 -0700
     1.2 +++ b/src/share/vm/opto/library_call.cpp	Mon Oct 28 08:34:10 2013 +0100
     1.3 @@ -2006,9 +2006,9 @@
     1.4    Node* arg2 = NULL;
     1.5  
     1.6    if (is_increment) {
     1.7 -      arg2 = intcon(1);
     1.8 +    arg2 = intcon(1);
     1.9    } else {
    1.10 -      arg2 = argument(1);
    1.11 +    arg2 = argument(1);
    1.12    }
    1.13  
    1.14    Node* add = _gvn.transform( new(C) AddExactINode(NULL, arg1, arg2) );
    1.15 @@ -2056,7 +2056,7 @@
    1.16    if (is_decrement) {
    1.17      arg2 = longcon(1);
    1.18    } else {
    1.19 -    Node* arg2 = argument(2); // type long
    1.20 +    arg2 = argument(2); // type long
    1.21      // argument(3) == TOP
    1.22    }
    1.23  
     2.1 --- a/test/compiler/intrinsics/mathexact/SubExactLConstantTest.java	Mon Oct 28 17:32:02 2013 -0700
     2.2 +++ b/test/compiler/intrinsics/mathexact/SubExactLConstantTest.java	Mon Oct 28 08:34:10 2013 +0100
     2.3 @@ -24,6 +24,7 @@
     2.4  /*
     2.5   * @test
     2.6   * @bug 8026844
     2.7 + * @bug 8027353
     2.8   * @summary Test constant subtractExact
     2.9   * @compile SubExactLConstantTest.java Verify.java
    2.10   * @run main SubExactLConstantTest
     3.1 --- a/test/compiler/intrinsics/mathexact/SubExactLNonConstantTest.java	Mon Oct 28 17:32:02 2013 -0700
     3.2 +++ b/test/compiler/intrinsics/mathexact/SubExactLNonConstantTest.java	Mon Oct 28 08:34:10 2013 +0100
     3.3 @@ -24,6 +24,7 @@
     3.4  /*
     3.5   * @test
     3.6   * @bug 8026844
     3.7 + * @bug 8027353
     3.8   * @summary Test non constant subtractExact
     3.9   * @compile SubExactLNonConstantTest.java Verify.java
    3.10   * @run main SubExactLNonConstantTest

mercurial