Chromium Code Reviews| Index: src/mips/macro-assembler-mips.cc |
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
| index 990b4995f5ca785eb6f85a7e15fa9a09ef643905..fb5f316a0598a651d134014a34bd1675469439dd 100644 |
| --- a/src/mips/macro-assembler-mips.cc |
| +++ b/src/mips/macro-assembler-mips.cc |
| @@ -3715,17 +3715,6 @@ void MacroAssembler::LoadContext(Register dst, int context_chain_length) { |
| // cannot be allowed to destroy the context in esi). |
| Move(dst, cp); |
| } |
| - |
| - // We should not have found a 'with' context by walking the context chain |
| - // (i.e., the static scope chain and runtime context chain do not agree). |
| - // A variable occurring in such a scope should have slot type LOOKUP and |
| - // not CONTEXT. |
| - if (emit_debug_code()) { |
|
Kevin Millikin (Chromium)
2011/06/30 08:21:01
BTW, this debug check was removed from ARM because
|
| - lw(t9, MemOperand(dst, Context::SlotOffset(Context::FCONTEXT_INDEX))); |
| - Check(eq, "Yo dawg, I heard you liked function contexts " |
| - "so I put function contexts in all your contexts", |
| - dst, Operand(t9)); |
| - } |
| } |