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

Side by Side Diff: src/objects.h

Issue 1291693004: [Interpreter] Bytecode graph builder (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More fixes for bots (tests w/ ASAN and tests w/ slow asserts enabled). Created 5 years, 3 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
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 #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 4193 matching lines...) Expand 10 before | Expand all | Expand 10 after
4204 inline byte get(int index); 4204 inline byte get(int index);
4205 inline void set(int index, byte value); 4205 inline void set(int index, byte value);
4206 4206
4207 // Returns data start address. 4207 // Returns data start address.
4208 inline Address GetFirstBytecodeAddress(); 4208 inline Address GetFirstBytecodeAddress();
4209 4209
4210 // Accessors for frame size. 4210 // Accessors for frame size.
4211 inline int frame_size() const; 4211 inline int frame_size() const;
4212 inline void set_frame_size(int frame_size); 4212 inline void set_frame_size(int frame_size);
4213 4213
4214 // Accessor for register count (derived from frame_size).
4215 inline int register_count() const;
4216
4214 // Accessors for parameter count (including implicit 'this' receiver). 4217 // Accessors for parameter count (including implicit 'this' receiver).
4215 inline int parameter_count() const; 4218 inline int parameter_count() const;
4216 inline void set_parameter_count(int number_of_parameters); 4219 inline void set_parameter_count(int number_of_parameters);
4217 4220
4218 // Accessors for the constant pool. 4221 // Accessors for the constant pool.
4219 DECL_ACCESSORS(constant_pool, FixedArray) 4222 DECL_ACCESSORS(constant_pool, FixedArray)
4220 4223
4221 DECLARE_CAST(BytecodeArray) 4224 DECLARE_CAST(BytecodeArray)
4222 4225
4223 // Dispatched behavior. 4226 // Dispatched behavior.
(...skipping 6239 matching lines...) Expand 10 before | Expand all | Expand 10 after
10463 } else { 10466 } else {
10464 value &= ~(1 << bit_position); 10467 value &= ~(1 << bit_position);
10465 } 10468 }
10466 return value; 10469 return value;
10467 } 10470 }
10468 }; 10471 };
10469 10472
10470 } } // namespace v8::internal 10473 } } // namespace v8::internal
10471 10474
10472 #endif // V8_OBJECTS_H_ 10475 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698