| Index: test/cctest/compiler/test-js-context-specialization.cc
|
| diff --git a/test/cctest/compiler/test-js-context-specialization.cc b/test/cctest/compiler/test-js-context-specialization.cc
|
| index e9bf0647509622523b3b3ca0b44e7dd505d2eaa8..9c024f8816d24e4f10b0283f2d5a7f9086525594 100644
|
| --- a/test/cctest/compiler/test-js-context-specialization.cc
|
| +++ b/test/cctest/compiler/test-js-context-specialization.cc
|
| @@ -225,14 +225,10 @@
|
| FunctionTester T(
|
| "(function() { if (false) { var x = 1; } function inc(a)"
|
| " { return x; } return inc; })()"); // x is undefined!
|
| - i::Isolate* isolate = CcTest::i_isolate();
|
| - CHECK(
|
| - T.Call(T.Val(0.0), T.Val(0.0)).ToHandleChecked()->IsUndefined(isolate));
|
| - CHECK(
|
| - T.Call(T.Val(2.0), T.Val(0.0)).ToHandleChecked()->IsUndefined(isolate));
|
| - CHECK(T.Call(T.Val(-2.1), T.Val(0.0))
|
| - .ToHandleChecked()
|
| - ->IsUndefined(isolate));
|
| +
|
| + CHECK(T.Call(T.Val(0.0), T.Val(0.0)).ToHandleChecked()->IsUndefined());
|
| + CHECK(T.Call(T.Val(2.0), T.Val(0.0)).ToHandleChecked()->IsUndefined());
|
| + CHECK(T.Call(T.Val(-2.1), T.Val(0.0)).ToHandleChecked()->IsUndefined());
|
| }
|
|
|
| {
|
|
|