Mercurial > hg > truffle
comparison graal/com.oracle.graal.truffle.test/sl/TestInliningMaxCallerSize.sl @ 20959:bb7e95512781
SL: fix calls produce less nodes now.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 14 Apr 2015 23:13:47 +0200 |
parents | 04d6bb76cfb3 |
children |
comparison
equal
deleted
inserted
replaced
20958:4514065de564 | 20959:bb7e95512781 |
---|---|
1 /* | 1 /* |
2 * This test verifies that CallTargets cannot exceed the TruffleInliningMaxCallerSize limit when inlining. | 2 * This test verifies that CallTargets cannot exceed the TruffleInliningMaxCallerSize limit when inlining. |
3 */ | 3 */ |
4 function inlinableFunction() { | 4 function inlinableFunction() { |
5 generateDummyNodes(getOption("TruffleInliningMaxCallerSize") - 8); | 5 generateDummyNodes(getOption("TruffleInliningMaxCallerSize") - 7); |
6 } | 6 } |
7 | 7 |
8 function notInlinableFunction() { | 8 function notInlinableFunction() { |
9 generateDummyNodes(getOption("TruffleInliningMaxCallerSize") - 7); | 9 generateDummyNodes(getOption("TruffleInliningMaxCallerSize") - 6); |
10 } | 10 } |
11 | 11 |
12 function test1() { | 12 function test1() { |
13 inlinableFunction(); | 13 inlinableFunction(); |
14 } | 14 } |