Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Side by Side Diff: src/x64/stub-cache-x64.cc

Issue 352583008: Rollback to Version 3.28.4 (based on bleeding_edge revision r22031) (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | src/x87/code-stubs-x87.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 #define __ ACCESS_MASM(masm) 1391 #define __ ACCESS_MASM(masm)
1392 1392
1393 1393
1394 void KeyedLoadStubCompiler::GenerateLoadDictionaryElement( 1394 void KeyedLoadStubCompiler::GenerateLoadDictionaryElement(
1395 MacroAssembler* masm) { 1395 MacroAssembler* masm) {
1396 // ----------- S t a t e ------------- 1396 // ----------- S t a t e -------------
1397 // -- rax : key 1397 // -- rax : key
1398 // -- rdx : receiver 1398 // -- rdx : receiver
1399 // -- rsp[0] : return address 1399 // -- rsp[0] : return address
1400 // ----------------------------------- 1400 // -----------------------------------
1401 ASSERT(rdx.is(KeyedLoadIC::ReceiverRegister()));
1402 ASSERT(rax.is(KeyedLoadIC::NameRegister()));
1403 Label slow, miss; 1401 Label slow, miss;
1404 1402
1405 // This stub is meant to be tail-jumped to, the receiver must already 1403 // This stub is meant to be tail-jumped to, the receiver must already
1406 // have been verified by the caller to not be a smi. 1404 // have been verified by the caller to not be a smi.
1407 1405
1408 __ JumpIfNotSmi(rax, &miss); 1406 __ JumpIfNotSmi(rax, &miss);
1409 __ SmiToInteger32(rbx, rax); 1407 __ SmiToInteger32(rbx, rax);
1410 __ movp(rcx, FieldOperand(rdx, JSObject::kElementsOffset)); 1408 __ movp(rcx, FieldOperand(rdx, JSObject::kElementsOffset));
1411 1409
1412 // Check whether the elements is a number dictionary. 1410 // Check whether the elements is a number dictionary.
(...skipping 20 matching lines...) Expand all
1433 // ----------------------------------- 1431 // -----------------------------------
1434 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 1432 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
1435 } 1433 }
1436 1434
1437 1435
1438 #undef __ 1436 #undef __
1439 1437
1440 } } // namespace v8::internal 1438 } } // namespace v8::internal
1441 1439
1442 #endif // V8_TARGET_ARCH_X64 1440 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | src/x87/code-stubs-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698