Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Issue 17571010: Reland: Optimizing noSuchMethod invocation with no arguments. (Closed)

Created:
7 years, 6 months ago by Florian Schneider
Modified:
7 years, 6 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, regis
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : #

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

Messages

Total messages: 5 (0 generated)
Florian Schneider
https://codereview.chromium.org/17571010/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/17571010/diff/1/runtime/vm/code_generator.cc#newcode1260 runtime/vm/code_generator.cc:1260: if (target_function.IsNull() && Added the check if a function ...
7 years, 6 months ago (2013-06-24 12:25:44 UTC) #1
srdjan
lgtm https://codereview.chromium.org/17571010/diff/1/tests/language/no_such_method_dispatcher_test.dart File tests/language/no_such_method_dispatcher_test.dart (right): https://codereview.chromium.org/17571010/diff/1/tests/language/no_such_method_dispatcher_test.dart#newcode20 tests/language/no_such_method_dispatcher_test.dart:20: for (var i = 0; i < 5000; ...
7 years, 6 months ago (2013-06-24 16:23:27 UTC) #2
Florian Schneider
Committed patchset #3 manually as r24351 (presubmit successful).
7 years, 6 months ago (2013-06-24 17:19:06 UTC) #3
Florian Schneider
https://codereview.chromium.org/17571010/diff/1/tests/language/no_such_method_dispatcher_test.dart File tests/language/no_such_method_dispatcher_test.dart (right): https://codereview.chromium.org/17571010/diff/1/tests/language/no_such_method_dispatcher_test.dart#newcode20 tests/language/no_such_method_dispatcher_test.dart:20: for (var i = 0; i < 5000; ++i) ...
7 years, 6 months ago (2013-06-24 17:19:15 UTC) #4
srdjan
7 years, 6 months ago (2013-06-26 17:33:09 UTC) #5
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698