Revision: 22587
Author:   [email protected]
Date:     Thu Jul 24 09:13:04 2014 UTC
Log: X87: Always use the LoadStubCompiler for Load handlers, also for keyedload handlers

port r22551.

original commit message:
Always use the LoadStubCompiler for Load handlers, also for keyedload handlers

BUG=
[email protected]

Review URL: https://codereview.chromium.org/412903003

Patch from Chunyang Dai <[email protected]>.
http://code.google.com/p/v8/source/detail?r=22587

Modified:
 /branches/bleeding_edge/src/x87/stub-cache-x87.cc

=======================================
--- /branches/bleeding_edge/src/x87/stub-cache-x87.cc Mon Jul 21 02:57:42 2014 UTC +++ /branches/bleeding_edge/src/x87/stub-cache-x87.cc Thu Jul 24 09:13:04 2014 UTC
@@ -967,13 +967,8 @@
                                          FieldIndex field,
                                          Representation representation) {
   if (!reg.is(receiver())) __ mov(receiver(), reg);
-  if (kind() == Code::LOAD_IC) {
-    LoadFieldStub stub(isolate(), field);
-    GenerateTailCall(masm(), stub.GetCode());
-  } else {
-    KeyedLoadFieldStub stub(isolate(), field);
-    GenerateTailCall(masm(), stub.GetCode());
-  }
+  LoadFieldStub stub(isolate(), field);
+  GenerateTailCall(masm(), stub.GetCode());
 }


--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to