Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index b2871b9e4682d495de80eed666ce9ef43d72fe9a..46aea7bd1a55c961a043a1a575b9d0a37a6c4dd8 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -1266,20 +1266,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. |