Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index 48de81f082de2a35427375280edd6f40cb166369..f15ed3c014747e49b5c839ed766b276a6e7ba12c 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -369,7 +369,7 @@ TEST(OptimizedCodeSharing) { |
for (int i = 0; i < 10; i++) { |
LocalContext env; |
env->Global()->Set(v8::String::NewFromUtf8(CcTest::isolate(), "x"), |
- v8::Integer::New(i)); |
+ v8::Integer::New(CcTest::isolate(), i)); |
CompileRun("function MakeClosure() {" |
" return function() { return x; };" |
"}" |