| Index: test/cctest/test-compiler.cc
|
| diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
|
| index 4bedbb9b513185d5e011d6ca1f5a12d706f70caa..12faf5cb071fe8750e910b07304980dde503e5e9 100644
|
| --- a/test/cctest/test-compiler.cc
|
| +++ b/test/cctest/test-compiler.cc
|
| @@ -370,7 +370,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; };"
|
| "}"
|
|
|