|
Simplify and improve handling of IC and megamorphic cache miss handling.
Instead of going back and forth from stub code to C++, perform
only the lookup in C++ and call target functions only from
stub code.
noSuchMethod and implicit closure invocations are now also work with
the megamorphic cache. Before they would go slow-case in the megamorphic case.
This CL eliminates the InstanceFunctionLookup stub that was previously
used to handle noSuchMethod and implicit closure invocations.
R=srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=34774
Total comments: 7
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+149 lines, -452 lines) |
Patch |
|
M |
runtime/vm/code_generator.h
|
View
|
1
2
|
3 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator.cc
|
View
|
1
2
|
5 chunks |
+92 lines, -206 lines |
0 comments
|
Download
|
|
M |
runtime/vm/instructions_arm_test.cc
|
View
|
1
2
|
7 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/instructions_ia32_test.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/instructions_mips_test.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/instructions_x64_test.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_frame_test.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_arm.cc
|
View
|
1
2
|
3 chunks |
+8 lines, -48 lines |
1 comment
|
Download
|
|
M |
runtime/vm/stub_code_ia32.cc
|
View
|
1
2
|
3 chunks |
+7 lines, -55 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_mips.cc
|
View
|
1
2
|
4 chunks |
+8 lines, -57 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_x64.cc
|
View
|
1
2
|
4 chunks |
+9 lines, -53 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|