Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 20143f6779ba0417ca66c6be3475a570e2cf7afe..777123cad53a2cd7cb13b184d0d5ede1b8ca6dac 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1235,20 +1235,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. |