|
Simplify handling of exits from with and catch.
Remove the try/finally used for with and catch. Instead of using
try/finally to handle break and continue from with or catch,
statically track nesting dept and clean up when compiling break or
continue.
And instead of using try/finally to handle throw to handler in a frame
whose pc is inside a with or catch, store the context that the handler
should run in in the handler itself.
BUG=
TEST=
Committed: http://code.google.com/p/v8/source/detail?r=8922
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+435 lines, -249 lines) |
Patch |
|
M |
src/arm/frames-arm.h
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.cc
|
View
|
1
2
3
|
8 chunks |
+40 lines, -46 lines |
0 comments
|
Download
|
|
M |
src/ast.h
|
View
|
1
2
3
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ast.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/frames.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/frames-inl.h
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
src/full-codegen.h
|
View
|
1
2
|
5 chunks |
+33 lines, -20 lines |
0 comments
|
Download
|
|
M |
src/full-codegen.cc
|
View
|
1
2
3
|
9 chunks |
+58 lines, -20 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ia32/frames-ia32.h
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.cc
|
View
|
1
2
3
|
9 chunks |
+32 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/parser.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
1
2
3
|
3 chunks |
+20 lines, -68 lines |
0 comments
|
Download
|
|
M |
src/prettyprinter.cc
|
View
|
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/rewriter.cc
|
View
|
1
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/x64/frames-x64.h
|
View
|
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.cc
|
View
|
1
2
3
|
6 chunks |
+36 lines, -33 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/with-leave.js
|
View
|
1
2
|
2 chunks |
+160 lines, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|