Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: src/compiler/code-assembler.cc

Issue 2570213002: [stubs] Enable machine graph verification for CodeStubAssembler and friends by default in debug mode (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler/code-assembler.cc
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc
index 38f208c8a4e229c51532bf681f98dc5e56de304f..194434bd043191c4463e176916db2bb93d54e7f7 100644
--- a/src/compiler/code-assembler.cc
+++ b/src/compiler/code-assembler.cc
@@ -70,17 +70,14 @@ void CodeAssembler::CallPrologue() {}
void CodeAssembler::CallEpilogue() {}
// static
-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.
+Handle<Code> CodeAssembler::GenerateCode(CodeAssemblerState* state) {
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_, verify_graph);
+ state->flags_, state->name_);
state->code_generated_ = true;
return code;

Powered by Google App Engine
This is Rietveld 408576698