OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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_CODE_H_ | 5 #ifndef V8_CODE_H_ |
6 #define V8_CODE_H_ | 6 #define V8_CODE_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 return reg_; | 35 return reg_; |
36 } | 36 } |
37 int immediate() const { | 37 int immediate() const { |
38 DCHECK(is_immediate()); | 38 DCHECK(is_immediate()); |
39 return immediate_; | 39 return immediate_; |
40 } | 40 } |
41 | 41 |
42 private: | 42 private: |
43 const Register reg_; | 43 const Register reg_; |
44 const int immediate_; | 44 const int immediate_; |
45 | |
46 DISALLOW_IMPLICIT_CONSTRUCTORS(ParameterCount); | |
47 }; | 45 }; |
48 | 46 |
49 | |
50 } } // namespace v8::internal | 47 } } // namespace v8::internal |
51 | 48 |
52 #endif // V8_CODE_H_ | 49 #endif // V8_CODE_H_ |
OLD | NEW |