Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 87f795f88db54524b6c36f6a6e7c7e9a52f1ab4f..584d2ff417802e6ce04433fbd6d45f3938293d9b 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -1726,7 +1726,7 @@ bool Pipeline::AllocateRegistersForTesting(const RegisterConfiguration* config, |
InstructionSequence* sequence, |
bool run_verifier) { |
CompilationInfo info(ArrayVector("testing"), sequence->isolate(), |
- sequence->zone()); |
+ sequence->zone(), Code::ComputeFlags(Code::STUB)); |
ZonePool zone_pool(sequence->isolate()->allocator()); |
PipelineData data(&zone_pool, &info, sequence); |
PipelineImpl pipeline(&data); |