| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index c97ba3db2d59ed3458505b1f359f3e8432db8a34..e9e43e5250cb81b6c4cc4693176c3632626f17b2 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -437,7 +437,10 @@ Handle<Code> TurboFanCodeStub::GenerateCode() {
|
| compiler::CodeAssemblerState state(isolate(), &zone, descriptor,
|
| GetCodeFlags(), name);
|
| GenerateAssembly(&state);
|
| - return compiler::CodeAssembler::GenerateCode(&state);
|
| + // TODO(ishell): enable verification once all issues are fixed.
|
| + // Enable verification only in mksnapshot.
|
| + bool verify_graph = FLAG_csa_verify && FLAG_startup_blob != nullptr;
|
| + return compiler::CodeAssembler::GenerateCode(&state, verify_graph);
|
| }
|
|
|
| #define ACCESSOR_ASSEMBLER(Name) \
|
|
|