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 8aef464ecde92796a78ed9eea92f8741ce3d0f70..d3041cdee34511515cff7e7eae0447c3abf242c4 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -2712,45 +2712,6 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) { |
context()->DropAndPlug(1, eax); |
} |
- |
-void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 1); |
- |
- VisitForAccumulatorValue(args->at(0)); |
- |
- __ AssertString(eax); |
- |
- Label materialize_true, materialize_false; |
- Label* if_true = NULL; |
- Label* if_false = NULL; |
- Label* fall_through = NULL; |
- context()->PrepareTest(&materialize_true, &materialize_false, |
- &if_true, &if_false, &fall_through); |
- |
- __ test(FieldOperand(eax, String::kHashFieldOffset), |
- Immediate(String::kContainsCachedArrayIndexMask)); |
- PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(zero, if_true, if_false, fall_through); |
- |
- context()->Plug(if_true, if_false); |
-} |
- |
- |
-void FullCodeGenerator::EmitGetCachedArrayIndex(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 1); |
- VisitForAccumulatorValue(args->at(0)); |
- |
- __ AssertString(eax); |
- |
- __ mov(eax, FieldOperand(eax, String::kHashFieldOffset)); |
- __ IndexFromHash(eax, eax); |
- |
- context()->Plug(eax); |
-} |
- |
- |
void FullCodeGenerator::EmitGetSuperConstructor(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK_EQ(1, args->length()); |