Reviewers: danno,
Description:
X87: Reland 21774: Generate KeyedLoadGeneric with Hydrogen
Port r21781 (4869c528)
BUG=
Please review this at https://codereview.chromium.org/336543002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+10, -0 lines):
M src/x87/code-stubs-x87.cc
Index: src/x87/code-stubs-x87.cc
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
index
bfebd4bada74017cd6bfed119397785f999c2ed5..981560cbca022ddafe1d5e613c0f1013b0997a02
100644
--- a/src/x87/code-stubs-x87.cc
+++ b/src/x87/code-stubs-x87.cc
@@ -123,6 +123,16 @@ void
RegExpConstructResultStub::InitializeInterfaceDescriptor(
}
+void KeyedLoadGenericElementStub::InitializeInterfaceDescriptor(
+ CodeStubInterfaceDescriptor* descriptor) {
+ static Register registers[] = { edx, ecx };
+ descriptor->register_param_count_ = 2;
+ descriptor->register_params_ = registers;
+ descriptor->deoptimization_handler_ =
+ Runtime::FunctionForId(Runtime::kKeyedGetProperty)->entry;
+}
+
+
void LoadFieldStub::InitializeInterfaceDescriptor(
CodeStubInterfaceDescriptor* descriptor) {
static Register registers[] = { edx };
--
--
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.