|
Remove the fcontext field from all contexts.
Before: every context cached the nearest enclosing function context. This
assumed that for nested contexts (i.e., with and catch contexts) the
enclosing function had a materialized link in the context chain.
Now: when necessary, we loop up the context chain to find such a context.
This enables catch contexts without forcing the enclosing function to
allocate its own context.
R=ager@chromium.org
BUG=
TEST=
Committed: http://code.google.com/p/v8/source/detail?r=8452
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+97 lines, -139 lines) |
Patch |
|
M |
src/arm/code-stubs-arm.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/arm/full-codegen-arm.cc
|
View
|
|
2 chunks |
+7 lines, -16 lines |
2 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.cc
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
|
5 chunks |
+4 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/contexts.cc
|
View
|
|
2 chunks |
+23 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/full-codegen-ia32.cc
|
View
|
|
2 chunks |
+7 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.cc
|
View
|
|
1 chunk |
+10 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
|
8 chunks |
+27 lines, -28 lines |
0 comments
|
Download
|
|
M |
src/x64/code-stubs-x64.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/x64/full-codegen-x64.cc
|
View
|
|
2 chunks |
+9 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.cc
|
View
|
|
1 chunk |
+10 lines, -7 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|