Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 4105b398916d3d56e4c5fc22215ef0deb0ffd637..598e990e061c3b850ace5bef41278e1a878389bb 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -1267,20 +1267,6 @@ void FullCodeGenerator::EmitDynamicLookupFastCase(VariableProxy* proxy, |
} |
} |
- |
-void FullCodeGenerator::EmitGlobalVariableLoad(VariableProxy* proxy, |
- TypeofMode typeof_mode) { |
-#ifdef DEBUG |
- Variable* var = proxy->var(); |
- DCHECK(var->IsUnallocated() || |
- (var->IsLookupSlot() && var->mode() == DYNAMIC_GLOBAL)); |
-#endif |
- __ li(LoadGlobalDescriptor::SlotRegister(), |
- Operand(SmiFromSlot(proxy->VariableFeedbackSlot()))); |
- CallLoadGlobalIC(typeof_mode); |
-} |
- |
- |
void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, |
TypeofMode typeof_mode) { |
// Record position before possible IC call. |