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

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 419803009: [x64] Get rid of the stupid SmiConstantRegister. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 2586 matching lines...) Expand 10 before | Expand all | Expand 10 after
2597 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 4), xmm10); 2597 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 4), xmm10);
2598 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 5), xmm11); 2598 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 5), xmm11);
2599 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 6), xmm12); 2599 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 6), xmm12);
2600 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 7), xmm13); 2600 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 7), xmm13);
2601 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 8), xmm14); 2601 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 8), xmm14);
2602 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 9), xmm15); 2602 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 9), xmm15);
2603 #endif 2603 #endif
2604 2604
2605 // Set up the roots and smi constant registers. 2605 // Set up the roots and smi constant registers.
2606 // Needs to be done before any further smi loads. 2606 // Needs to be done before any further smi loads.
2607 __ InitializeSmiConstantRegister();
2608 __ InitializeRootRegister(); 2607 __ InitializeRootRegister();
2609 } 2608 }
2610 2609
2611 // Save copies of the top frame descriptor on the stack. 2610 // Save copies of the top frame descriptor on the stack.
2612 ExternalReference c_entry_fp(Isolate::kCEntryFPAddress, isolate()); 2611 ExternalReference c_entry_fp(Isolate::kCEntryFPAddress, isolate());
2613 { 2612 {
2614 Operand c_entry_fp_operand = masm->ExternalOperand(c_entry_fp); 2613 Operand c_entry_fp_operand = masm->ExternalOperand(c_entry_fp);
2615 __ Push(c_entry_fp_operand); 2614 __ Push(c_entry_fp_operand);
2616 } 2615 }
2617 2616
(...skipping 2355 matching lines...) Expand 10 before | Expand all | Expand 10 after
4973 return_value_operand, 4972 return_value_operand,
4974 NULL); 4973 NULL);
4975 } 4974 }
4976 4975
4977 4976
4978 #undef __ 4977 #undef __
4979 4978
4980 } } // namespace v8::internal 4979 } } // namespace v8::internal
4981 4980
4982 #endif // V8_TARGET_ARCH_X64 4981 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/x64/deoptimizer-x64.cc » ('j') | src/x64/macro-assembler-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698