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

Issue 9965042: - Add a class index to the classes. (Closed)

Created:
8 years, 8 months ago by Ivan Posva
Modified:
8 years, 7 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Add a class index to the classes. - Add a class table which assigns individual ids to classes. Committed: https://code.google.com/p/dart/source/detail?r=7183

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -80 lines) Patch
M vm/assembler_macros_ia32.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M vm/assembler_macros_x64.cc View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
A vm/class_table.h View 1 1 chunk +47 lines, -0 lines 0 comments Download
A vm/class_table.cc View 1 1 chunk +72 lines, -0 lines 0 comments Download
M vm/dart.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M vm/dart_api_impl.cc View 1 3 chunks +6 lines, -0 lines 0 comments Download
M vm/intrinsifier_ia32.cc View 1 4 chunks +16 lines, -5 lines 0 comments Download
M vm/isolate.h View 1 3 chunks +4 lines, -0 lines 0 comments Download
M vm/isolate.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M vm/object.h View 1 5 chunks +19 lines, -8 lines 0 comments Download
M vm/object.cc View 1 15 chunks +69 lines, -36 lines 0 comments Download
M vm/object_store.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M vm/raw_object.h View 1 5 chunks +13 lines, -1 line 0 comments Download
M vm/raw_object.cc View 1 1 chunk +1 line, -1 line 2 comments Download
M vm/snapshot.cc View 1 3 chunks +8 lines, -2 lines 0 comments Download
M vm/stub_code_ia32.cc View 1 5 chunks +28 lines, -11 lines 0 comments Download
M vm/stub_code_x64.cc View 1 2 5 chunks +28 lines, -11 lines 0 comments Download
M vm/vm_sources.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
siva
https://chromiumcodereview.appspot.com/9965042/diff/1/vm/class_table.h File vm/class_table.h (right): https://chromiumcodereview.appspot.com/9965042/diff/1/vm/class_table.h#newcode27 vm/class_table.h:27: void Register(const Class& cls); Need a VisitObjectPointers function here ...
8 years, 8 months ago (2012-04-02 18:29:21 UTC) #1
Ivan Posva
https://chromiumcodereview.appspot.com/9965042/diff/1/vm/class_table.h File vm/class_table.h (right): https://chromiumcodereview.appspot.com/9965042/diff/1/vm/class_table.h#newcode27 vm/class_table.h:27: void Register(const Class& cls); On 2012/04/02 18:29:21, asiva wrote: ...
8 years, 7 months ago (2012-04-29 21:08:25 UTC) #2
Ivan Posva
Ready for review. ia32 and x64 pass all tests. -Ivan
8 years, 7 months ago (2012-04-30 07:32:07 UTC) #3
siva
LGTM https://chromiumcodereview.appspot.com/9965042/diff/7018/vm/raw_object.cc File vm/raw_object.cc (right): https://chromiumcodereview.appspot.com/9965042/diff/7018/vm/raw_object.cc#newcode34 vm/raw_object.cc:34: ASSERT((tags & 0x000000f0) == 0); We could add ...
8 years, 7 months ago (2012-04-30 23:47:20 UTC) #4
Ivan Posva
8 years, 7 months ago (2012-05-01 15:11:17 UTC) #5
http://codereview.chromium.org/9965042/diff/7018/vm/raw_object.cc
File vm/raw_object.cc (right):

http://codereview.chromium.org/9965042/diff/7018/vm/raw_object.cc#newcode34
vm/raw_object.cc:34: ASSERT((tags & 0x000000f0) == 0);
On 2012/04/30 23:47:20, asiva wrote:
> We could add an assertion here that the class index is valid,
> i.e the index points to a class and the class is sensible
> (same checks as above which will go away when we remove the
> class_ field).

Will do: See https://chromiumcodereview.appspot.com/10271032

Powered by Google App Engine
This is Rietveld 408576698