diff options
Diffstat (limited to 'deps/v8/test/cctest/compiler/function-tester.cc')
-rw-r--r-- | deps/v8/test/cctest/compiler/function-tester.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/compiler/function-tester.cc b/deps/v8/test/cctest/compiler/function-tester.cc index 220b4b6d43..5d104467c0 100644 --- a/deps/v8/test/cctest/compiler/function-tester.cc +++ b/deps/v8/test/cctest/compiler/function-tester.cc @@ -23,7 +23,7 @@ namespace compiler { FunctionTester::FunctionTester(const char* source, uint32_t flags) : isolate(main_isolate()), canonical(isolate), - function((FLAG_allow_natives_syntax = true, NewFunction(source))), + function((v8_flags.allow_natives_syntax = true, NewFunction(source))), flags_(flags) { Compile(function); const uint32_t supported_flags = OptimizedCompilationInfo::kInlining; @@ -41,7 +41,7 @@ FunctionTester::FunctionTester(Graph* graph, int param_count) FunctionTester::FunctionTester(Handle<Code> code, int param_count) : isolate(main_isolate()), canonical(isolate), - function((FLAG_allow_natives_syntax = true, + function((v8_flags.allow_natives_syntax = true, NewFunction(BuildFunction(param_count).c_str()))), flags_(0) { CHECK(!code.is_null()); |