| Index: test/cctest/test-api-interceptors.cc
|
| diff --git a/test/cctest/test-api-interceptors.cc b/test/cctest/test-api-interceptors.cc
|
| index 96c2c454a9e23d2bff7966e5bf5762c460f9caa4..6aebba67bc46a14b154e8d660ef2903f21a90b80 100644
|
| --- a/test/cctest/test-api-interceptors.cc
|
| +++ b/test/cctest/test-api-interceptors.cc
|
| @@ -13,7 +13,6 @@
|
| #include "src/compilation-cache.h"
|
| #include "src/execution.h"
|
| #include "src/objects.h"
|
| -#include "src/runtime/runtime.h"
|
| #include "src/unicode-inl.h"
|
| #include "src/utils.h"
|
|
|
| @@ -4094,7 +4093,6 @@
|
|
|
|
|
| THREADED_TEST(Regress256330) {
|
| - if (!i::FLAG_crankshaft) return;
|
| i::FLAG_allow_natives_syntax = true;
|
| LocalContext context;
|
| v8::HandleScope scope(context->GetIsolate());
|
| @@ -4110,10 +4108,7 @@
|
| "f(o); f(o); f(o);"
|
| "%OptimizeFunctionOnNextCall(f);"
|
| "f(o);");
|
| - int status = v8_run_int32value(v8_compile("%GetOptimizationStatus(f)"));
|
| - int mask = static_cast<int>(i::OptimizationStatus::kIsFunction) |
|
| - static_cast<int>(i::OptimizationStatus::kOptimized);
|
| - CHECK_EQ(mask, status & mask);
|
| + ExpectBoolean("%GetOptimizationStatus(f) != 2", true);
|
| }
|
|
|
|
|
|
|