Index: test/cctest/test-inobject-slack-tracking.cc |
diff --git a/test/cctest/test-inobject-slack-tracking.cc b/test/cctest/test-inobject-slack-tracking.cc |
index 357d2f563d610312697976bab2f3f139112d3443..9f33d5593858cd8cb14f6aaf1520078b592760e2 100644 |
--- a/test/cctest/test-inobject-slack-tracking.cc |
+++ b/test/cctest/test-inobject-slack-tracking.cc |
@@ -1099,8 +1099,10 @@ |
CcTest::InitializeVM(); |
v8::HandleScope scope(CcTest::isolate()); |
+ const int first_field = 5; |
TestSubclassBuiltin("A1", JS_PROMISE_TYPE, "Promise", |
- "function(resolve, reject) { resolve('ok'); }"); |
+ "function(resolve, reject) { resolve('ok'); }", |
+ first_field); |
} |