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 7c8506a672d54121930a02a28567c80a2683aaba..94d8a5aad902001bf4d246a0ebcdafeab6654bd0 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -1180,7 +1180,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(), |
@@ -2922,7 +2922,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()) { |
__ mov(eax, NativeContextOperand()); |
__ push(ContextOperand(eax, Context::EXTENSION_INDEX)); |
__ push(Immediate(var->name())); |