| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 25ff1d5039df36004427f046ccc1f8b9eb74a5ab..9485cf0811bed99392a1b6211c352aaa13c41408 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -34,6 +34,7 @@
|
| #include "isolate.h"
|
| #include "jsregexp.h"
|
| #include "regexp-macro-assembler.h"
|
| +#include "runtime.h"
|
| #include "stub-cache.h"
|
| #include "codegen.h"
|
|
|
| @@ -52,6 +53,17 @@ void KeyedLoadFastElementStub::InitializeInterfaceDescriptor(
|
| }
|
|
|
|
|
| +void TransitionElementsKindStub::InitializeInterfaceDescriptor(
|
| + Isolate* isolate,
|
| + CodeStubInterfaceDescriptor* descriptor) {
|
| + static Register registers[] = { eax, ebx };
|
| + descriptor->register_param_count_ = 2;
|
| + descriptor->register_params_ = registers;
|
| + descriptor->deoptimization_handler_ =
|
| + Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry;
|
| +}
|
| +
|
| +
|
| #define __ ACCESS_MASM(masm)
|
|
|
| void ToNumberStub::Generate(MacroAssembler* masm) {
|
|
|