Reviewers: Weiliang,

Message:
PTAL

Description:
X87: [interpreter] Change interpreter to use an BytecodeArray pointer and and
offset.

port 597da503220ab2a632453d2e3a915e9824d6d592 (r29910).

original commit message:

    Changes the interpreter to use a BytecodeArray pointer and an offset to
avoid
    having an inner pointer to a BytecodeArray object in registers during
dispatch.

BUG=

Please review this at https://codereview.chromium.org/1267783002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+2, -1 lines):
  M src/compiler/x87/linkage-x87.cc


Index: src/compiler/x87/linkage-x87.cc
diff --git a/src/compiler/x87/linkage-x87.cc b/src/compiler/x87/linkage-x87.cc index 1d20006cdea0e18b5b6761ca87eb7b58c6f1f59d..45fbd55bd0ccd94437a3f865404cad327624c01f 100644
--- a/src/compiler/x87/linkage-x87.cc
+++ b/src/compiler/x87/linkage-x87.cc
@@ -17,7 +17,8 @@ struct X87LinkageHelperTraits {
   static Register ReturnValue2Reg() { return edx; }
   static Register JSCallFunctionReg() { return edi; }
   static Register ContextReg() { return esi; }
-  static Register InterpreterBytecodePointerReg() { return edi; }
+  static Register InterpreterBytecodeOffsetReg() { return ecx; }
+  static Register InterpreterBytecodeArrayReg() { return edi; }
   static Register InterpreterDispatchTableReg() { return ebx; }
   static Register RuntimeCallFunctionReg() { return ebx; }
   static Register RuntimeCallArgCountReg() { return eax; }


--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to