Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 970571840b5cd49a3ec99859a62cfb860c5616aa..514574a1c1c45488917ac4f1651a947dfad5e146 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -36,6 +36,26 @@ |
namespace v8 { |
namespace internal { |
+ |
+CodeStubInterfaceDescriptor* |
+KeyedLoadFastElementStub::GetInterfaceDescriptor(Isolate* isolate) { |
Jakob Kummerow
2012/11/28 16:28:22
nit: indentation please
danno
2012/11/30 16:23:24
Done.
|
+ static bool initialized = false; |
+ static CodeStubInterfaceDescriptor* result; |
+ if (!initialized) { |
+ Handle<Code> miss = isolate->builtins()->KeyedLoadIC_Miss(); |
+ static Register registers[] = { rdx, rax }; |
+ static CodeStubInterfaceDescriptor info = { |
+ 2, |
+ registers, |
+ miss |
+ }; |
+ result = &info; |
+ initialized = true; |
+ } |
+ return result; |
+} |
+ |
+ |
#define __ ACCESS_MASM(masm) |
void ToNumberStub::Generate(MacroAssembler* masm) { |