| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index f61035e248a2c11a21b563696d40910337bd602a..4687fd8c8344e68cf66519b7bfdbb75bdf451591 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -512,6 +512,33 @@ void JSEntryStub::FinishCode(Handle<Code> code) {
|
| }
|
|
|
|
|
| +void KeyedLoadFastElementStub::InitializeInterfaceDescriptor(
|
| + CodeStubInterfaceDescriptor* descriptor) {
|
| + descriptor->register_param_count_ = KeyedLoadIC::kRegisterArgumentCount;
|
| + descriptor->register_params_ = KeyedLoadIC::registers;
|
| + descriptor->deoptimization_handler_ =
|
| + FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
|
| +}
|
| +
|
| +
|
| +void KeyedLoadDictionaryElementStub::InitializeInterfaceDescriptor(
|
| + CodeStubInterfaceDescriptor* descriptor) {
|
| + descriptor->register_param_count_ = KeyedLoadIC::kRegisterArgumentCount;
|
| + descriptor->register_params_ = KeyedLoadIC::registers;
|
| + descriptor->deoptimization_handler_ =
|
| + FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
|
| +}
|
| +
|
| +
|
| +void KeyedLoadGenericElementStub::InitializeInterfaceDescriptor(
|
| + CodeStubInterfaceDescriptor* descriptor) {
|
| + descriptor->register_param_count_ = KeyedLoadIC::kRegisterArgumentCount;
|
| + descriptor->register_params_ = KeyedLoadIC::registers;
|
| + descriptor->deoptimization_handler_ =
|
| + Runtime::FunctionForId(Runtime::kKeyedGetProperty)->entry;
|
| +}
|
| +
|
| +
|
| void KeyedLoadDictionaryElementPlatformStub::Generate(
|
| MacroAssembler* masm) {
|
| KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm);
|
|
|