Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index 194434bd043191c4463e176916db2bb93d54e7f7..38f208c8a4e229c51532bf681f98dc5e56de304f 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -70,14 +70,17 @@ void CodeAssembler::CallPrologue() {} |
void CodeAssembler::CallEpilogue() {} |
// static |
-Handle<Code> CodeAssembler::GenerateCode(CodeAssemblerState* state) { |
+Handle<Code> CodeAssembler::GenerateCode(CodeAssemblerState* state, |
+ bool verify_graph) { |
+ // TODO(ishell): Remove verify_graph parameter and always enable the |
+ // verification once all the issues are fixed. |
DCHECK(!state->code_generated_); |
RawMachineAssembler* rasm = state->raw_assembler_.get(); |
Schedule* schedule = rasm->Export(); |
Handle<Code> code = Pipeline::GenerateCodeForCodeStub( |
rasm->isolate(), rasm->call_descriptor(), rasm->graph(), schedule, |
- state->flags_, state->name_); |
+ state->flags_, state->name_, verify_graph); |
state->code_generated_ = true; |
return code; |