Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index 664827719bb99a77b8c6e251508b5c9803b20f76..bbc5d5345154dbe66a3ef8b7f69b06b8c929ac63 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -5154,11 +5154,10 @@ void CodeGenerator::GenerateObjectEquals(ZoneList<Expression*>* args) { |
void CodeGenerator::GenerateGetFramePointer(ZoneList<Expression*>* args) { |
ASSERT(args->length() == 0); |
- ASSERT(kSmiTagSize == 1 && kSmiTag == 0); // shifting code depends on this |
+ ASSERT(kSmiTag == 0); // EBP value is aligned, so it should look like Smi. |
Result ebp_as_smi = allocator_->Allocate(); |
ASSERT(ebp_as_smi.is_valid()); |
__ mov(ebp_as_smi.reg(), Operand(ebp)); |
- __ shr(ebp_as_smi.reg(), kSmiTagSize); |
frame_->Push(&ebp_as_smi); |
} |