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

Issue 142233002: Make sure all new Code objects have a non-null PcDescriptors (Closed)

Created:
6 years, 11 months ago by Cutch
Modified:
6 years, 11 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Adds an empty PcDescriptors instance to the VM-isolate. All newly created code objects point to the empty PcDescriptors instance. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=31958

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

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

Messages

Total messages: 4 (0 generated)
Cutch
6 years, 11 months ago (2014-01-18 00:24:36 UTC) #1
Ivan Posva
LGTMwC -Ivan https://codereview.chromium.org/142233002/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/142233002/diff/1/runtime/vm/object.cc#newcode658 runtime/vm/object.cc:658: empty_descriptors_->raw()->ptr()->length_ = Smi::New(0); Can't you use raw_ptr() ...
6 years, 11 months ago (2014-01-21 06:36:05 UTC) #2
Cutch
https://codereview.chromium.org/142233002/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/142233002/diff/1/runtime/vm/object.cc#newcode658 runtime/vm/object.cc:658: empty_descriptors_->raw()->ptr()->length_ = Smi::New(0); On 2014/01/21 06:36:05, Ivan Posva wrote: ...
6 years, 11 months ago (2014-01-21 15:49:58 UTC) #3
Cutch
6 years, 11 months ago (2014-01-21 16:42:42 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r31958 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698