| Index: src/compiler/instruction-selector.cc
|
| diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
|
| index fe9c287bc73740ee2381664640b110d41644f745..05d1b212f9cfcf58acae6136b592dd7603fea772 100644
|
| --- a/src/compiler/instruction-selector.cc
|
| +++ b/src/compiler/instruction-selector.cc
|
| @@ -521,7 +521,8 @@ void InstructionSelector::VisitControl(BasicBlock* block) {
|
| return VisitReturn(value);
|
| }
|
| case BasicBlock::kThrow:
|
| - return VisitThrow(input);
|
| + DCHECK_EQ(IrOpcode::kThrow, input->opcode());
|
| + return VisitThrow(input->InputAt(0));
|
| case BasicBlock::kNone: {
|
| // TODO(titzer): exit block doesn't have control.
|
| DCHECK(input == NULL);
|
| @@ -1049,7 +1050,7 @@ void InstructionSelector::VisitReturn(Node* value) {
|
|
|
|
|
| void InstructionSelector::VisitThrow(Node* value) {
|
| - UNIMPLEMENTED(); // TODO(titzer)
|
| + Emit(kArchNop, NULL); // TODO(titzer)
|
| }
|
|
|
|
|
|
|