Author: [email protected]
Date: Wed Feb 18 23:22:53 2009
New Revision: 1307

Modified:
    branches/bleeding_edge/src/codegen-arm.cc
    branches/bleeding_edge/src/codegen-ia32.cc

Log:
Commit of eval changes left out because they were stuck in another  
changelist.

Modified: branches/bleeding_edge/src/codegen-arm.cc
==============================================================================
--- branches/bleeding_edge/src/codegen-arm.cc   (original)
+++ branches/bleeding_edge/src/codegen-arm.cc   Wed Feb 18 23:22:53 2009
@@ -418,10 +418,10 @@
      }
    }
    // Check that last extension is NULL.
-  __ ldr(tmp2, ContextOperand(tmp, Context::EXTENSION_INDEX));
+  __ ldr(tmp2, ContextOperand(context, Context::EXTENSION_INDEX));
    __ tst(tmp2, tmp2);
    __ b(ne, slow);
-  __ ldr(tmp, ContextOperand(tmp, Context::FCONTEXT_INDEX));
+  __ ldr(tmp, ContextOperand(context, Context::FCONTEXT_INDEX));
    return ContextOperand(tmp, index);
  }


Modified: branches/bleeding_edge/src/codegen-ia32.cc
==============================================================================
--- branches/bleeding_edge/src/codegen-ia32.cc  (original)
+++ branches/bleeding_edge/src/codegen-ia32.cc  Wed Feb 18 23:22:53 2009
@@ -469,9 +469,9 @@
      }
    }
    // Check that last extension is NULL.
-  __ cmp(ContextOperand(tmp, Context::EXTENSION_INDEX), Immediate(0));
+  __ cmp(ContextOperand(context, Context::EXTENSION_INDEX), Immediate(0));
    __ j(not_equal, slow, not_taken);
-  __ mov(tmp, ContextOperand(tmp, Context::FCONTEXT_INDEX));
+  __ mov(tmp, ContextOperand(context, Context::FCONTEXT_INDEX));
    return ContextOperand(tmp, index);
  }


--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to