Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 0fb0a8fb2d21d9076cacd9e66e6d56b20524fc66..d23e2c18f5dbef7f90ec1a05ea57a11133eafa14 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -507,22 +507,6 @@ void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const { |
} |
-void FullCodeGenerator::EffectContext::DropAndPlug(int count, |
- Register reg) const { |
- DCHECK(count > 0); |
- __ Drop(count); |
-} |
- |
- |
-void FullCodeGenerator::AccumulatorValueContext::DropAndPlug( |
- int count, |
- Register reg) const { |
- DCHECK(count > 0); |
- __ Drop(count); |
- __ Move(result_register(), reg); |
-} |
- |
- |
void FullCodeGenerator::StackValueContext::DropAndPlug(int count, |
Register reg) const { |
DCHECK(count > 0); |
@@ -531,17 +515,6 @@ void FullCodeGenerator::StackValueContext::DropAndPlug(int count, |
} |
-void FullCodeGenerator::TestContext::DropAndPlug(int count, |
- Register reg) const { |
- DCHECK(count > 0); |
- // For simplicity we always test the accumulator register. |
- __ Drop(count); |
- __ Move(result_register(), reg); |
- codegen()->PrepareForBailoutBeforeSplit(condition(), false, NULL, NULL); |
- codegen()->DoTest(this); |
-} |
- |
- |
void FullCodeGenerator::EffectContext::Plug(Label* materialize_true, |
Label* materialize_false) const { |
DCHECK(materialize_true == materialize_false); |
@@ -2005,34 +1978,6 @@ void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) { |
} |
-void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) { |
- // Stack: receiver, home_object. |
- SetExpressionPosition(prop); |
- Literal* key = prop->key()->AsLiteral(); |
- DCHECK(!key->value()->IsSmi()); |
- DCHECK(prop->IsSuperAccess()); |
- |
- __ push(Immediate(key->value())); |
- __ CallRuntime(Runtime::kLoadFromSuper); |
-} |
- |
- |
-void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) { |
- SetExpressionPosition(prop); |
- Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); |
- __ mov(LoadDescriptor::SlotRegister(), |
- Immediate(SmiFromSlot(prop->PropertyFeedbackSlot()))); |
- CallIC(ic); |
-} |
- |
- |
-void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) { |
- // Stack: receiver, home_object, key. |
- SetExpressionPosition(prop); |
- __ CallRuntime(Runtime::kLoadKeyedFromSuper); |
-} |
- |
- |
void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
Token::Value op, |
Expression* left, |