|
Fix %NeverOptimizeFunction runtime call.
The current usage of this runtime function is broken as it does not
prevent inlining of the affected function but rather bails out from the
whole unit of compilation after trying to inline affected functions.
This simplifies said runtime function to avoid accidental misuse.
R=titzer@chromium.org
TEST=mjsunit/never-optimize
Committed: http://code.google.com/p/v8/source/detail?r=15762
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+204 lines, -222 lines) |
Patch |
|
M |
src/hydrogen.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/runtime.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
1
|
1 chunk |
+5 lines, -16 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/compiler/inline-arguments.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/elements-kind.js
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/elide-double-hole-check-9.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/generated-transition-stub.js
|
View
|
|
1 chunk |
+172 lines, -168 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/never-optimize.js
|
View
|
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/opt-elements-kind.js
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/osr-elements-kind.js
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-1713b.js
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-97116b.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-crbug-173907b.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-deopt-gcb.js
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-mul-canoverflowb.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|