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

Issue 1814623003: Remove Code::active_instructions_. (Closed)

Created:
4 years, 9 months ago by rmacnak
Modified:
4 years, 9 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove Code::active_instructions_. It is only used to test if the Code has been disabled, and we can instead test if the active entry point matches the Instruction's entry point. A Code's entry point is either for its own Instructions or Instructions of stub code in the VM isolate, so we don't need this field to keep the Instructions alive. precompiled dart2js x64 22254552 -> 22165795 (-0.39%) BUG=http://dartbug.com/25992 R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/714027a81bdcad457c4b83164c3f7076b6e69dfc

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -11 lines) Patch
M runtime/vm/object.h View 1 2 chunks +2 lines, -5 lines 0 comments Download
M runtime/vm/object.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/raw_object.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/raw_object.cc View 1 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 10 (5 generated)
rmacnak
4 years, 9 months ago (2016-03-17 00:03:40 UTC) #3
rmacnak
4 years, 9 months ago (2016-03-17 23:34:29 UTC) #5
Florian Schneider
lgtm https://codereview.chromium.org/1814623003/diff/1/runtime/vm/raw_object.cc File runtime/vm/raw_object.cc (right): https://codereview.chromium.org/1814623003/diff/1/runtime/vm/raw_object.cc#newcode545 runtime/vm/raw_object.cc:545: #if defined(TARGET_ARCH_IA32) Maybe add a comment why this ...
4 years, 9 months ago (2016-03-19 09:51:47 UTC) #6
rmacnak
https://codereview.chromium.org/1814623003/diff/1/runtime/vm/raw_object.cc File runtime/vm/raw_object.cc (right): https://codereview.chromium.org/1814623003/diff/1/runtime/vm/raw_object.cc#newcode545 runtime/vm/raw_object.cc:545: #if defined(TARGET_ARCH_IA32) On 2016/03/19 09:51:47, Florian Schneider wrote: > ...
4 years, 9 months ago (2016-03-21 17:48:48 UTC) #7
rmacnak
4 years, 9 months ago (2016-03-21 17:53:36 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
714027a81bdcad457c4b83164c3f7076b6e69dfc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698