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

Side by Side Diff: src/x64/codegen-x64.h

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes 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
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/codegen-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #ifndef V8_X64_CODEGEN_X64_H_ 5 #ifndef V8_X64_CODEGEN_X64_H_
6 #define V8_X64_CODEGEN_X64_H_ 6 #define V8_X64_CODEGEN_X64_H_
7 7
8 #include "src/ast.h" 8 #include "src/ast.h"
9 #include "src/ic-inl.h" 9 #include "src/ic-inl.h"
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 argument_count_reg_(parameter_count.is_reg() ? 89 argument_count_reg_(parameter_count.is_reg() ?
90 parameter_count.reg() : no_reg), 90 parameter_count.reg() : no_reg),
91 argument_count_immediate_(parameter_count.is_immediate() ? 91 argument_count_immediate_(parameter_count.is_immediate() ?
92 parameter_count.immediate() : 0), 92 parameter_count.immediate() : 0),
93 receiver_mode_(receiver_mode), 93 receiver_mode_(receiver_mode),
94 extra_displacement_to_last_argument_( 94 extra_displacement_to_last_argument_(
95 extra_displacement_to_last_argument) { } 95 extra_displacement_to_last_argument) { }
96 96
97 Operand GetArgumentOperand(int index); 97 Operand GetArgumentOperand(int index);
98 Operand GetReceiverOperand() { 98 Operand GetReceiverOperand() {
99 ASSERT(receiver_mode_ == ARGUMENTS_CONTAIN_RECEIVER); 99 DCHECK(receiver_mode_ == ARGUMENTS_CONTAIN_RECEIVER);
100 return GetArgumentOperand(0); 100 return GetArgumentOperand(0);
101 } 101 }
102 102
103 private: 103 private:
104 const Register base_reg_; 104 const Register base_reg_;
105 const Register argument_count_reg_; 105 const Register argument_count_reg_;
106 const int argument_count_immediate_; 106 const int argument_count_immediate_;
107 const StackArgumentsAccessorReceiverMode receiver_mode_; 107 const StackArgumentsAccessorReceiverMode receiver_mode_;
108 const int extra_displacement_to_last_argument_; 108 const int extra_displacement_to_last_argument_;
109 109
110 DISALLOW_IMPLICIT_CONSTRUCTORS(StackArgumentsAccessor); 110 DISALLOW_IMPLICIT_CONSTRUCTORS(StackArgumentsAccessor);
111 }; 111 };
112 112
113 113
114 } } // namespace v8::internal 114 } } // namespace v8::internal
115 115
116 #endif // V8_X64_CODEGEN_X64_H_ 116 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698