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

Issue 11316353: Refactor the InstanceFunctionLookupStub. (Closed)

Created:
8 years ago by Kevin Millikin (Google)
Modified:
8 years ago
Reviewers:
regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Refactor the InstanceFunctionLookupStub. The stub is used in the case that an IC miss handler cannot find a cacheable target. It handles implicit closures, calls to instance fields, and no such method. Refactor the stub to make a single call into the runtime. BUG=

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -541 lines) Patch
M runtime/vm/code_generator.h View 1 chunk +1 line, -3 lines 0 comments Download
M runtime/vm/code_generator.cc View 2 chunks +257 lines, -265 lines 2 comments Download
M runtime/vm/stub_code_ia32.cc View 6 chunks +28 lines, -137 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 6 chunks +27 lines, -136 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Google)
8 years ago (2012-12-12 14:09:07 UTC) #1
Kevin Millikin (Google)
https://codereview.chromium.org/11316353/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/11316353/diff/1/runtime/vm/code_generator.cc#newcode1270 runtime/vm/code_generator.cc:1270: instance ^= value.raw(); I'm not sure what compels value ...
8 years ago (2012-12-12 14:18:38 UTC) #2
regis
LGTM Thanks for doing this! https://codereview.chromium.org/11316353/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/11316353/diff/1/runtime/vm/code_generator.cc#newcode1270 runtime/vm/code_generator.cc:1270: instance ^= value.raw(); On ...
8 years ago (2012-12-12 17:37:38 UTC) #3
Kevin Millikin (Google)
8 years ago (2012-12-12 19:55:40 UTC) #4

Powered by Google App Engine
This is Rietveld 408576698