Revision: 22570
Author: [email protected]
Date: Wed Jul 23 15:53:00 2014 UTC
Log: MIPS: Always use the LoadStubCompiler for Load handlers, also for
keyedload handlers.
Port r22551 (0cc23b1)
BUG=
[email protected]
Review URL: https://codereview.chromium.org/415623002
http://code.google.com/p/v8/source/detail?r=22570
Modified:
/branches/bleeding_edge/src/mips/stub-cache-mips.cc
/branches/bleeding_edge/src/mips64/stub-cache-mips64.cc
=======================================
--- /branches/bleeding_edge/src/mips/stub-cache-mips.cc Fri Jul 18 17:11:52
2014 UTC
+++ /branches/bleeding_edge/src/mips/stub-cache-mips.cc Wed Jul 23 15:53:00
2014 UTC
@@ -995,13 +995,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());
}
=======================================
--- /branches/bleeding_edge/src/mips64/stub-cache-mips64.cc Fri Jul 18
17:11:52 2014 UTC
+++ /branches/bleeding_edge/src/mips64/stub-cache-mips64.cc Wed Jul 23
15:53:00 2014 UTC
@@ -996,13 +996,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.