Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index 3e70cb3e32b2961144e8b0b78e46adb2b507c5bd..3a25e13fa87a8fa0e25e86c5a1989de2bf57f6e6 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -1199,18 +1199,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(), |
- Operand(SmiFromSlot(proxy->VariableFeedbackSlot()))); |
- CallLoadGlobalIC(typeof_mode); |
-} |
- |
void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, |
TypeofMode typeof_mode) { |
// Record position before possible IC call. |