|
Reland: Optimizing noSuchMethod invocation with no arguments.
This is the same CL as https://codereview.chromium.org/17315008/ with
one bug fixed:
If a method is invoked with a mismatching number of arguments, we don't
add a no-such-method-dispatcher function since the dispatcher currently
can only invoke noSuchMethod and would not work if the method
is invoked with correct arguments at a later point.
I extended the test to cover that case.
TEST=tests/language/no_such_method_dispatcher_test.dart
R=srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=24351
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+185 lines, -30 lines) |
Patch |
|
M |
runtime/vm/class_finalizer.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator.cc
|
View
|
|
4 chunks |
+71 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_arm.cc
|
View
|
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_mips.cc
|
View
|
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/mirrors_api_impl.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/parser.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/parser.cc
|
View
|
|
2 chunks |
+43 lines, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/raw_object.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/resolver.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
tests/language/no_such_method_dispatcher_test.dart
|
View
|
1
|
2 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|