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

Issue 1367973002: VM: Initialize Instruction objects with break instructions instead of null. (Closed)

Created:
5 years, 3 months ago by Florian Schneider
Modified:
5 years, 2 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Ivan Posva
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: Initialize Instruction objects with break instructions instead of null. On ia32 this is int3(). This also makes precompiled instruction snapshots deterministic (to be precise the empty space due to alignment), and not depending on the address of the null object at snapshot creation time. BUG= R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/9fa3d7c9e4e2c407ada1eb7fe2c235029404f508

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -56 lines) Patch
M runtime/vm/assembler_arm.h View 2 chunks +53 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm.cc View 2 chunks +1 line, -46 lines 0 comments Download
M runtime/vm/assembler_arm64.h View 1 2 chunks +10 lines, -3 lines 0 comments Download
M runtime/vm/assembler_ia32.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/assembler_mips.h View 1 1 chunk +13 lines, -4 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Florian Schneider
5 years, 3 months ago (2015-09-24 14:09:00 UTC) #2
rmacnak
lgtm
5 years, 3 months ago (2015-09-24 17:39:33 UTC) #3
Florian Schneider
5 years, 2 months ago (2015-09-25 12:10:38 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
9fa3d7c9e4e2c407ada1eb7fe2c235029404f508 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698