diff options
Diffstat (limited to 'deps/v8/test/cctest/compiler/graph-builder-tester.h')
-rw-r--r-- | deps/v8/test/cctest/compiler/graph-builder-tester.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/compiler/graph-builder-tester.h b/deps/v8/test/cctest/compiler/graph-builder-tester.h index c870a3e84e..c257448b8a 100644 --- a/deps/v8/test/cctest/compiler/graph-builder-tester.h +++ b/deps/v8/test/cctest/compiler/graph-builder-tester.h @@ -5,7 +5,7 @@ #ifndef V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ #define V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ -#include "src/compiler.h" +#include "src/compilation-info.h" #include "src/compiler/common-operator.h" #include "src/compiler/instruction-selector.h" #include "src/compiler/linkage.h" @@ -279,7 +279,8 @@ class GraphBuilderTester : public HandleAndZoneScope, Zone* zone = graph()->zone(); CallDescriptor* desc = Linkage::GetSimplifiedCDescriptor(zone, this->csig_); - CompilationInfo info(ArrayVector("testing"), main_isolate(), main_zone()); + CompilationInfo info(ArrayVector("testing"), main_isolate(), main_zone(), + Code::ComputeFlags(Code::STUB)); code_ = Pipeline::GenerateCodeForTesting(&info, desc, graph()); #ifdef ENABLE_DISASSEMBLER if (!code_.is_null() && FLAG_print_opt_code) { |