Reviewers: Toon Verwaest,
Message:
Hello. Toon & Danno.
Please help to review and commit this porting patch.
thanks.
Description:
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=
Please review this at https://codereview.chromium.org/412903003/
SVN Base: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Affected files (+2, -7 lines):
M src/x87/stub-cache-x87.cc
Index: src/x87/stub-cache-x87.cc
diff --git a/src/x87/stub-cache-x87.cc b/src/x87/stub-cache-x87.cc
index
f4fd75b01fe728be29b83f41ba1a90cac8e7a90b..1a925cd5d33fd4b082a8089884b502021b6686f5
100644
--- a/src/x87/stub-cache-x87.cc
+++ b/src/x87/stub-cache-x87.cc
@@ -967,13 +967,8 @@ void LoadStubCompiler::GenerateLoadField(Register reg,
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.