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 51f5ff896839f15beebb2b6dce81dd516c7e250a..a5ec576026b5bc99d0819e53096ed9b8b52c0786 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1230,7 +1230,7 @@ void FullCodeGenerator::EmitGlobalVariableLoad(VariableProxy* proxy, |
TypeofMode typeof_mode) { |
#ifdef DEBUG |
Variable* var = proxy->var(); |
- DCHECK(var->IsUnallocatedOrGlobalSlot() || |
+ DCHECK(var->IsUnallocated() || |
(var->IsLookupSlot() && var->mode() == DYNAMIC_GLOBAL)); |
#endif |
__ mov(LoadGlobalDescriptor::SlotRegister(), |
@@ -3041,7 +3041,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
// "delete this" is allowed. |
bool is_this = var->is_this(); |
DCHECK(is_sloppy(language_mode()) || is_this); |
- if (var->IsUnallocatedOrGlobalSlot()) { |
+ if (var->IsUnallocated()) { |
__ LoadGlobalObject(r5); |
__ mov(r4, Operand(var->name())); |
__ Push(r5, r4); |