From 6b318947d7e0ecef4dc8a393cb9300404c398d4b Mon Sep 17 00:00:00 2001 From: "palfia@homejinni.com" Date: Wed, 11 Jun 2014 22:58:19 +0000 Subject: [PATCH] MIPS: Reland 21774: Generate KeyedLoadGeneric with Hydrogen Port r21781 (4869c528) BUG= R=plind44@gmail.com Review URL: https://codereview.chromium.org/327373002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21784 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/mips/code-stubs-mips.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc index 771a5db..b03d855 100644 --- a/src/mips/code-stubs-mips.cc +++ b/src/mips/code-stubs-mips.cc @@ -119,6 +119,16 @@ void RegExpConstructResultStub::InitializeInterfaceDescriptor( } +void KeyedLoadGenericElementStub::InitializeInterfaceDescriptor( + CodeStubInterfaceDescriptor* descriptor) { + static Register registers[] = { a1, a0 }; + 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[] = { a0 }; -- 2.7.4