v8/test
rossberg@chromium.org 928d71f83b 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=

Review URL: https://codereview.chromium.org/143693003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18711 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-21 14:14:12 +00:00
..
benchmarks Update benchmark test suite. 2013-11-20 15:05:52 +00:00
cctest Retry landing "Implement zone-allocated types" 2014-01-21 14:14:12 +00:00
intl Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
message Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
mjsunit Add infrastructure for skipping tests in GC stress mode. 2014-01-21 12:41:25 +00:00
mozilla Make test runner more flexible for running fast tests. 2013-11-25 17:34:52 +00:00
preparser Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
test262 Reland "Implement Math.sin, cos and tan using table lookup and spline interpolation." 2013-11-12 14:43:18 +00:00
webkit Adapt Webkit test expectations to r18480. 2014-01-08 09:30:49 +00:00