| Index: src/x64/stub-cache-x64.cc
|
| ===================================================================
|
| --- src/x64/stub-cache-x64.cc (revision 4699)
|
| +++ src/x64/stub-cache-x64.cc (working copy)
|
| @@ -28,6 +28,8 @@
|
|
|
| #include "v8.h"
|
|
|
| +#if defined(V8_TARGET_ARCH_X64)
|
| +
|
| #include "ic-inl.h"
|
| #include "codegen-inl.h"
|
| #include "stub-cache.h"
|
| @@ -2027,23 +2029,18 @@
|
| String* name) {
|
| // ----------- S t a t e -------------
|
| // -- rax : value
|
| + // -- rcx : key
|
| + // -- rdx : receiver
|
| // -- rsp[0] : return address
|
| - // -- rsp[8] : key
|
| - // -- rsp[16] : receiver
|
| // -----------------------------------
|
| Label miss;
|
|
|
| __ IncrementCounter(&Counters::keyed_store_field, 1);
|
|
|
| - // Get the name from the stack.
|
| - __ movq(rcx, Operand(rsp, 1 * kPointerSize));
|
| // Check that the name has not changed.
|
| __ Cmp(rcx, Handle<String>(name));
|
| __ j(not_equal, &miss);
|
|
|
| - // Get the receiver from the stack.
|
| - __ movq(rdx, Operand(rsp, 2 * kPointerSize));
|
| -
|
| // Generate store field code. Preserves receiver and name on jump to miss.
|
| GenerateStoreField(masm(),
|
| object,
|
| @@ -2367,3 +2364,5 @@
|
| #undef __
|
|
|
| } } // namespace v8::internal
|
| +
|
| +#endif // V8_TARGET_ARCH_X64
|
|
|