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

Issue 11369028: Avoid duplicate null checks when calling SetRaw from InitializeHandle (Closed)

Created:
8 years, 1 month ago by siva
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Avoid duplicate null checks when calling SetRaw from InitializeHandle Committed: https://code.google.com/p/dart/source/detail?r=14589

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -17 lines) Patch
M vm/object.h View 1 2 3 6 chunks +23 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
siva
8 years, 1 month ago (2012-11-01 21:16:35 UTC) #1
Ivan Posva
I think there are other options for addressing the double checking. We should first discuss ...
8 years, 1 month ago (2012-11-01 21:33:34 UTC) #2
siva
http://codereview.chromium.org/11369028/diff/3/vm/object.h File vm/object.h (right): http://codereview.chromium.org/11369028/diff/3/vm/object.h#newcode120 vm/object.h:120: obj->raw_ = Object::null(); \ I think we wanted to ...
8 years, 1 month ago (2012-11-01 21:59:53 UTC) #3
Florian Schneider
DBC: http://codereview.chromium.org/11369028/diff/3/vm/object.h File vm/object.h (right): http://codereview.chromium.org/11369028/diff/3/vm/object.h#newcode116 vm/object.h:116: static void initializeHandle(object* obj, RawObject* raw_ptr) { \ ...
8 years, 1 month ago (2012-11-01 22:35:36 UTC) #4
siva
As discussed offline, made the Object code similar to all other handle types be having ...
8 years, 1 month ago (2012-11-06 02:27:08 UTC) #5
siva
8 years, 1 month ago (2012-11-06 03:03:58 UTC) #6
Ivan Posva
8 years, 1 month ago (2012-11-06 03:35:18 UTC) #7
LGTM -ip

Powered by Google App Engine
This is Rietveld 408576698