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

Issue 10540045: - Get handle vtable from a static table for predefined classes. (Closed)

Created:
8 years, 6 months ago by Ivan Posva
Modified:
8 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Get handle vtable from a static table for predefined classes. Committed: https://code.google.com/p/dart/source/detail?r=8387

Patch Set 1 #

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

Messages

Total messages: 4 (0 generated)
Ivan Posva
8 years, 6 months ago (2012-06-07 11:12:51 UTC) #1
Vyacheslav Egorov (Google)
lgtm
8 years, 6 months ago (2012-06-07 11:22:20 UTC) #2
siva
lgtm https://chromiumcodereview.appspot.com/10540045/diff/1/runtime/vm/object.h File runtime/vm/object.h (right): https://chromiumcodereview.appspot.com/10540045/diff/1/runtime/vm/object.h#newcode4914 runtime/vm/object.h:4914: set_vtable(handle_vtable_); I am wondering if we should pull ...
8 years, 6 months ago (2012-06-07 17:32:25 UTC) #3
Ivan Posva
8 years, 6 months ago (2012-06-07 20:00:56 UTC) #4
https://chromiumcodereview.appspot.com/10540045/diff/1/runtime/vm/object.h
File runtime/vm/object.h (right):

https://chromiumcodereview.appspot.com/10540045/diff/1/runtime/vm/object.h#ne...
runtime/vm/object.h:4914: set_vtable(handle_vtable_);
Done. https://chromiumcodereview.appspot.com/10541061

On 2012/06/07 17:32:25, asiva wrote:
> I am wondering if we should pull the "if (raw_ == null_)" case above just
after
> the Smi check and return.
> 
> The rest of the code would indent better without the need for the 'else'.

Powered by Google App Engine
This is Rietveld 408576698