Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 0624c28288b390e1dcb93e2c3505f1b595eb1f91..346bac9e2186e5d44d45c1577991b38df08e87ac 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -2711,45 +2711,6 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) { |
context()->DropAndPlug(1, rax); |
} |
- |
-void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 1); |
- |
- VisitForAccumulatorValue(args->at(0)); |
- |
- 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); |
- |
- __ testl(FieldOperand(rax, String::kHashFieldOffset), |
- Immediate(String::kContainsCachedArrayIndexMask)); |
- PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- __ j(zero, if_true); |
- __ jmp(if_false); |
- |
- 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(rax); |
- |
- __ movl(rax, FieldOperand(rax, String::kHashFieldOffset)); |
- DCHECK(String::kHashShift >= kSmiTagSize); |
- __ IndexFromHash(rax, rax); |
- |
- context()->Plug(rax); |
-} |
- |
- |
void FullCodeGenerator::EmitGetSuperConstructor(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK_EQ(1, args->length()); |