diff options
Diffstat (limited to 'deps/v8/test/cctest/compiler/codegen-tester.h')
-rw-r--r-- | deps/v8/test/cctest/compiler/codegen-tester.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/compiler/codegen-tester.h b/deps/v8/test/cctest/compiler/codegen-tester.h index 3d115454b9..90c32ce99e 100644 --- a/deps/v8/test/cctest/compiler/codegen-tester.h +++ b/deps/v8/test/cctest/compiler/codegen-tester.h @@ -5,7 +5,7 @@ #ifndef V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ #define V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ -#include "src/compiler.h" +#include "src/compilation-info.h" #include "src/compiler/instruction-selector.h" #include "src/compiler/pipeline.h" #include "src/compiler/raw-machine-assembler.h" @@ -67,7 +67,8 @@ class RawMachineAssemblerTester : public HandleAndZoneScope, Schedule* schedule = this->Export(); CallDescriptor* call_descriptor = this->call_descriptor(); Graph* graph = this->graph(); - CompilationInfo info(ArrayVector("testing"), main_isolate(), main_zone()); + CompilationInfo info(ArrayVector("testing"), main_isolate(), main_zone(), + Code::ComputeFlags(Code::STUB)); code_ = Pipeline::GenerateCodeForTesting(&info, call_descriptor, graph, schedule); } |