|
Change the handling of stack check on backward branches
The hydrogen stack check instruction is now added to each loop and the stack check handling on the back edge has been removed.
This change causes regression on small tight loops as the stack check is now at the top of the loop instead of at the bottom, and that requires one additional unconditional jump per loop iteration. However the reason for this change is to avoid worse regressions for upcoming changes to correctly support debugger break in optimized code.
R=fschneider@chromium.org
BUG=none
TEST=none
Committed: http://code.google.com/p/v8/source/detail?r=8428
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+230 lines, -205 lines) |
Patch |
|
M |
src/arm/lithium-arm.h
|
View
|
1
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-arm.cc
|
View
|
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
2
|
2 chunks |
+38 lines, -39 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.h
|
View
|
1
|
4 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
1
2
|
17 chunks |
+31 lines, -35 lines |
0 comments
|
Download
|
|
M |
src/hydrogen-instructions.h
|
View
|
1
2
|
2 chunks |
+21 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
2
|
2 chunks |
+40 lines, -40 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.h
|
View
|
1
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.cc
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
1
2
|
2 chunks |
+35 lines, -37 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.h
|
View
|
1
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.cc
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|