Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 81a57d584582b5ee84f392010b4e3611539e85de..d4a40bf86184a33a73fe4bd89d18d94a296ad5d3 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1759,11 +1759,11 @@ TEST(Regress1465) { |
#define TRANSITION_COUNT 256 |
for (int i = 0; i < TRANSITION_COUNT; i++) { |
- EmbeddedVector<char, 32> buffer; |
- OS::SNPrintF(buffer, "var o = {}; o.prop%d = %d;", i); |
+ EmbeddedVector<char, 64> buffer; |
+ OS::SNPrintF(buffer, "var o = new Object; o.prop%d = %d;", i, i); |
CompileRun(buffer.start()); |
} |
- CompileRun("var root = {};"); |
+ CompileRun("var root = new Object;"); |
Handle<JSObject> root = |
v8::Utils::OpenHandle( |
*v8::Handle<v8::Object>::Cast( |