Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 311eaf2f092d966d0e9df475c2b88901cf3d5d41..b9c9ea00657e4de8746f0579e780380c390903a2 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1490,7 +1490,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy) { |
// variables. |
switch (var->location()) { |
case Variable::UNALLOCATED: { |
- Comment cmnt(masm_, "Global variable"); |
+ Comment cmnt(masm_, "[ Global variable"); |
// Use inline caching. Variable name is passed in a2 and the global |
// object (receiver) in a0. |
__ lw(a0, GlobalObjectOperand()); |
@@ -1503,9 +1503,8 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy) { |
case Variable::PARAMETER: |
case Variable::LOCAL: |
case Variable::CONTEXT: { |
- Comment cmnt(masm_, var->IsContextSlot() |
- ? "Context variable" |
- : "Stack variable"); |
+ Comment cmnt(masm_, var->IsContextSlot() ? "[ Context variable" |
+ : "[ Stack variable"); |
if (var->binding_needs_init()) { |
// var->scope() may be NULL when the proxy is located in eval code and |
// refers to a potential outside binding. Currently those bindings are |
@@ -1570,12 +1569,12 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy) { |
} |
case Variable::LOOKUP: { |
+ Comment cmnt(masm_, "[ Lookup variable"); |
Label done, slow; |
// Generate code for loading from variables potentially shadowed |
// by eval-introduced variables. |
EmitDynamicLookupFastCase(var, NOT_INSIDE_TYPEOF, &slow, &done); |
__ bind(&slow); |
- Comment cmnt(masm_, "Lookup variable"); |
__ li(a1, Operand(var->name())); |
__ Push(cp, a1); // Context and name. |
__ CallRuntime(Runtime::kLoadContextSlot, 2); |
@@ -4538,7 +4537,7 @@ void FullCodeGenerator::VisitForTypeofValue(Expression* expr) { |
ASSERT(!context()->IsTest()); |
VariableProxy* proxy = expr->AsVariableProxy(); |
if (proxy != NULL && proxy->var()->IsUnallocated()) { |
- Comment cmnt(masm_, "Global variable"); |
+ Comment cmnt(masm_, "[ Global variable"); |
__ lw(a0, GlobalObjectOperand()); |
__ li(a2, Operand(proxy->name())); |
// Use a regular load, not a contextual load, to avoid a reference |
@@ -4547,6 +4546,7 @@ void FullCodeGenerator::VisitForTypeofValue(Expression* expr) { |
PrepareForBailout(expr, TOS_REG); |
context()->Plug(v0); |
} else if (proxy != NULL && proxy->var()->IsLookupSlot()) { |
+ Comment cmnt(masm_, "[ Lookup slot"); |
Label done, slow; |
// Generate code for loading from variables potentially shadowed |