|
Fast compiler: Load globals variables directly from property cells.
This is a first step towards loading globals directly from property cells instead
of going through a load IC.
This change supports only properties with the DontDelete attribute since
we are only able to bailout into the generic code generated by the secondary
code generator the beginning of a function. The resulting fast-case code is
specialized for a specific context. When invoked with a different global object,
it will always bailout to the secondary code.
When loading a property that does not exist at compile-time or a property
that is deleteable we still generate the generic load IC.
Committed: http://code.google.com/p/v8/source/detail?r=3808
Total comments: 18
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+265 lines, -90 lines) |
Patch |
|
M |
src/arm/fast-codegen-arm.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+36 lines, -26 lines |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.h
|
View
|
5
6
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.cc
|
View
|
5
6
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler.h
|
View
|
1
2
5
6
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/data-flow.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/fast-codegen.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/fast-codegen.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/fast-codegen-ia32.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+35 lines, -26 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.h
|
View
|
5
6
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.cc
|
View
|
5
6
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/fast-codegen-x64.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+36 lines, -26 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.h
|
View
|
5
6
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.cc
|
View
|
5
6
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/compiler/simple-global-access.js
|
View
|
1
2
3
4
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/typeof.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|