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 89e13a8739a999cbe048837ef296e642bbc8cb5f..229d4c6d44fc21bc53c7a71768c107a67d195a22 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -1181,20 +1181,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 |
- __ mov(LoadGlobalDescriptor::SlotRegister(), |
- Immediate(SmiFromSlot(proxy->VariableFeedbackSlot()))); |
- CallLoadGlobalIC(typeof_mode); |
-} |
- |
- |
void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, |
TypeofMode typeof_mode) { |
SetExpressionPosition(proxy); |