| Index: src/compiler/instruction-selector.h
|
| diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h
|
| index 36b699153e638f28307bf2668acb3574e9806b6a..212a66eadb5e18b59429cd59b7594c97644089cf 100644
|
| --- a/src/compiler/instruction-selector.h
|
| +++ b/src/compiler/instruction-selector.h
|
| @@ -61,7 +61,7 @@ class InstructionSelector final {
|
| : kDisableScheduling);
|
|
|
| // Visit code for the entire graph with the included schedule.
|
| - void SelectInstructions();
|
| + bool SelectInstructions();
|
|
|
| void StartBlock(RpoNumber rpo);
|
| void EndBlock(RpoNumber rpo);
|
| @@ -332,6 +332,11 @@ class InstructionSelector final {
|
| Zone* instruction_zone() const { return sequence()->zone(); }
|
| Zone* zone() const { return zone_; }
|
|
|
| + void set_instruction_selection_failed() {
|
| + instruction_selection_failed_ = true;
|
| + }
|
| + bool instruction_selection_failed() { return instruction_selection_failed_; }
|
| +
|
| // ===========================================================================
|
|
|
| Zone* const zone_;
|
| @@ -351,6 +356,7 @@ class InstructionSelector final {
|
| InstructionScheduler* scheduler_;
|
| EnableScheduling enable_scheduling_;
|
| Frame* frame_;
|
| + bool instruction_selection_failed_;
|
| };
|
|
|
| } // namespace compiler
|
|
|