| OLD | NEW |
| 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 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 4144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4155 inline byte get(int index); | 4155 inline byte get(int index); |
| 4156 inline void set(int index, byte value); | 4156 inline void set(int index, byte value); |
| 4157 | 4157 |
| 4158 // Returns data start address. | 4158 // Returns data start address. |
| 4159 inline Address GetFirstBytecodeAddress(); | 4159 inline Address GetFirstBytecodeAddress(); |
| 4160 | 4160 |
| 4161 // Accessors for frame size. | 4161 // Accessors for frame size. |
| 4162 inline int frame_size() const; | 4162 inline int frame_size() const; |
| 4163 inline void set_frame_size(int frame_size); | 4163 inline void set_frame_size(int frame_size); |
| 4164 | 4164 |
| 4165 // Accessor for register count (derived from frame_size). |
| 4166 inline int register_count() const; |
| 4167 |
| 4165 // Accessors for parameter count (including implicit 'this' receiver). | 4168 // Accessors for parameter count (including implicit 'this' receiver). |
| 4166 inline int parameter_count() const; | 4169 inline int parameter_count() const; |
| 4167 inline void set_parameter_count(int number_of_parameters); | 4170 inline void set_parameter_count(int number_of_parameters); |
| 4168 | 4171 |
| 4169 // Accessors for the constant pool. | 4172 // Accessors for the constant pool. |
| 4170 DECL_ACCESSORS(constant_pool, FixedArray) | 4173 DECL_ACCESSORS(constant_pool, FixedArray) |
| 4171 | 4174 |
| 4172 DECLARE_CAST(BytecodeArray) | 4175 DECLARE_CAST(BytecodeArray) |
| 4173 | 4176 |
| 4174 // Dispatched behavior. | 4177 // Dispatched behavior. |
| (...skipping 6239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10414 } else { | 10417 } else { |
| 10415 value &= ~(1 << bit_position); | 10418 value &= ~(1 << bit_position); |
| 10416 } | 10419 } |
| 10417 return value; | 10420 return value; |
| 10418 } | 10421 } |
| 10419 }; | 10422 }; |
| 10420 | 10423 |
| 10421 } } // namespace v8::internal | 10424 } } // namespace v8::internal |
| 10422 | 10425 |
| 10423 #endif // V8_OBJECTS_H_ | 10426 #endif // V8_OBJECTS_H_ |
| OLD | NEW |