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

Issue 143693003: Retry landing "Implement zone-allocated types" (Closed)

Created:
6 years, 11 months ago by rossberg
Modified:
6 years, 11 months ago
Reviewers:
titzer
CC:
v8-dev
Visibility:
Public.

Description

Retry landing "Implement zone-allocated types" Works around apparent scoping bug in VS, the only change to before being a method rename in the test suite: --- a/test/cctest/test-types.cc +++ b/test/cctest/test-types.cc @@ -153,7 +153,7 @@ struct ZoneRep { return reinterpret_cast<ZoneList<ZoneType*>*>(AsTagged(t)); } - static Zone* Region(Zone* zone, Isolate* isolate) { return zone; } + static Zone* ToRegion(Zone* zone, Isolate* isolate) { return zone; } }; @@ -168,7 +168,7 @@ struct HeapRep { static Object* AsConstant(Handle<Type> t) { return Box::cast(*t)->value(); } static FixedArray* AsUnion(Handle<Type> t) { return FixedArray::cast(*t); } - static Isolate* Region(Zone* zone, Isolate* isolate) { return isolate; } + static Isolate* ToRegion(Zone* zone, Isolate* isolate) { return isolate; } }; @@ -183,7 +183,7 @@ struct Tests : Rep { isolate(CcTest::i_isolate()), scope(isolate), zone(isolate), - T(Rep::Region(&zone, isolate), isolate) { + T(Rep::ToRegion(&zone, isolate), isolate) { } static void CheckEqual(TypeHandle type1, TypeHandle type2) { R=titzer@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=18711

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+954 lines, -712 lines) Patch
M src/list-inl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M src/types.h View 8 chunks +173 lines, -21 lines 0 comments Download
M src/types.cc View 14 chunks +52 lines, -48 lines 0 comments Download
M test/cctest/test-types.cc View 1 chunk +717 lines, -643 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
rossberg
6 years, 11 months ago (2014-01-21 12:13:42 UTC) #1
titzer
lgtm with small comments https://codereview.chromium.org/143693003/diff/1/src/list-inl.h File src/list-inl.h (right): https://codereview.chromium.org/143693003/diff/1/src/list-inl.h#newcode169 src/list-inl.h:169: ASSERT(pos <= length_); pos >= ...
6 years, 11 months ago (2014-01-21 12:39:03 UTC) #2
rossberg
https://codereview.chromium.org/143693003/diff/1/src/list-inl.h File src/list-inl.h (right): https://codereview.chromium.org/143693003/diff/1/src/list-inl.h#newcode169 src/list-inl.h:169: ASSERT(pos <= length_); On 2014/01/21 12:39:06, titzer wrote: > ...
6 years, 11 months ago (2014-01-21 14:03:08 UTC) #3
rossberg
6 years, 11 months ago (2014-01-21 14:14:21 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r18711 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698