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

Issue 9072011: - Add a size field to the header. (Closed)

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

Description

- Add a size field to the header. - Make use of the field when available to avoid accessing the class. Committed: https://code.google.com/p/dart/source/detail?r=2936

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 32

Patch Set 3 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -48 lines) Patch
M vm/assembler_macros_ia32.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M vm/assembler_macros_x64.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M vm/freelist.h View 1 2 2 chunks +12 lines, -3 lines 0 comments Download
M vm/intrinsifier_ia32.cc View 1 2 2 chunks +21 lines, -6 lines 0 comments Download
M vm/object.h View 2 chunks +6 lines, -2 lines 0 comments Download
M vm/object.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M vm/raw_object.h View 6 chunks +68 lines, -21 lines 0 comments Download
M vm/raw_object.cc View 6 chunks +14 lines, -2 lines 0 comments Download
M vm/stub_code_ia32.cc View 1 2 9 chunks +56 lines, -7 lines 0 comments Download
M vm/stub_code_x64.cc View 1 2 6 chunks +28 lines, -5 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
Ivan Posva
8 years, 11 months ago (2012-01-03 23:41:32 UTC) #1
turnidge
DBC -turnidge http://codereview.chromium.org/9072011/diff/12/vm/freelist.h File vm/freelist.h (right): http://codereview.chromium.org/9072011/diff/12/vm/freelist.h#newcode26 vm/freelist.h:26: return reinterpret_cast<FreeListElement*>(next_ ^ 1); Should this use ...
8 years, 11 months ago (2012-01-04 01:06:17 UTC) #2
siva
lgtm http://codereview.chromium.org/9072011/diff/12/vm/assembler_macros_ia32.cc File vm/assembler_macros_ia32.cc (right): http://codereview.chromium.org/9072011/diff/12/vm/assembler_macros_ia32.cc#newcode49 vm/assembler_macros_ia32.cc:49: class_reg); ASSERT(instance_size <= RawObject::SizeTag::kMaxSizeTag); http://codereview.chromium.org/9072011/diff/12/vm/assembler_macros_x64.cc File vm/assembler_macros_x64.cc (right): ...
8 years, 11 months ago (2012-01-04 01:56:03 UTC) #3
Ivan Posva
http://codereview.chromium.org/9072011/diff/12/vm/assembler_macros_ia32.cc File vm/assembler_macros_ia32.cc (right): http://codereview.chromium.org/9072011/diff/12/vm/assembler_macros_ia32.cc#newcode49 vm/assembler_macros_ia32.cc:49: class_reg); On 2012/01/04 01:56:03, asiva wrote: > ASSERT(instance_size <= ...
8 years, 11 months ago (2012-01-04 07:59:41 UTC) #4
regis
8 years, 11 months ago (2012-01-10 20:27:48 UTC) #5
http://codereview.chromium.org/9072011/diff/10001/vm/stub_code_x64.cc
File vm/stub_code_x64.cc (right):

http://codereview.chromium.org/9072011/diff/10001/vm/stub_code_x64.cc#newcode633
vm/stub_code_x64.cc:633: __ leaq(RBX, Address(R10, TIMES_2, fixed_size));  //
R10 is Smi.
It should be TIMES_4.
I'll fix it in my next cl.

Powered by Google App Engine
This is Rietveld 408576698