Index: src/ia32/fast-codegen-ia32.cc |
=================================================================== |
--- src/ia32/fast-codegen-ia32.cc (revision 3529) |
+++ src/ia32/fast-codegen-ia32.cc (working copy) |
@@ -231,7 +231,7 @@ |
Operand FastCodeGenerator::CreateSlotOperand<Operand>(Slot* source, |
Register scratch) { |
switch (source->type()) { |
- case Slot::PARAMETER: |
+ case Slot::PARAMETER: // Fall through. |
case Slot::LOCAL: |
return Operand(ebp, SlotOffset(source)); |
case Slot::CONTEXT: { |
@@ -239,15 +239,12 @@ |
function_->scope()->ContextChainLength(source->var()->scope()); |
__ LoadContext(scratch, context_chain_length); |
return CodeGenerator::ContextOperand(scratch, source->index()); |
- break; |
} |
case Slot::LOOKUP: |
UNIMPLEMENTED(); |
- // Fall-through. |
- default: |
- UNREACHABLE(); |
- return Operand(eax, 0); // Dead code to make the compiler happy. |
} |
+ UNREACHABLE(); |
+ return Operand(eax, 0); |
} |
@@ -322,8 +319,6 @@ |
} |
case Slot::LOOKUP: |
UNIMPLEMENTED(); |
- default: |
- UNREACHABLE(); |
} |
} |
@@ -573,8 +568,6 @@ |
case Slot::LOOKUP: |
UNIMPLEMENTED(); |
break; |
- default: |
- UNREACHABLE(); |
} |
} |
Move(context, slot, eax); |