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

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: Incorporate review comments on patch set 5. 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 4138 matching lines...) Expand 10 before | Expand all | Expand 10 after
4149 inline byte get(int index); 4149 inline byte get(int index);
4150 inline void set(int index, byte value); 4150 inline void set(int index, byte value);
4151 4151
4152 // Returns data start address. 4152 // Returns data start address.
4153 inline Address GetFirstBytecodeAddress(); 4153 inline Address GetFirstBytecodeAddress();
4154 4154
4155 // Accessors for frame size. 4155 // Accessors for frame size.
4156 inline int frame_size() const; 4156 inline int frame_size() const;
4157 inline void set_frame_size(int frame_size); 4157 inline void set_frame_size(int frame_size);
4158 4158
4159 // Accessor for local count (derived from frame_size).
4160 inline int local_count() const;
4161
4159 // Accessors for parameter count (including implicit 'this' receiver). 4162 // Accessors for parameter count (including implicit 'this' receiver).
4160 inline int parameter_count() const; 4163 inline int parameter_count() const;
4161 inline void set_parameter_count(int number_of_parameters); 4164 inline void set_parameter_count(int number_of_parameters);
4162 4165
4163 // Accessors for the constant pool. 4166 // Accessors for the constant pool.
4164 DECL_ACCESSORS(constant_pool, FixedArray) 4167 DECL_ACCESSORS(constant_pool, FixedArray)
4165 4168
4166 DECLARE_CAST(BytecodeArray) 4169 DECLARE_CAST(BytecodeArray)
4167 4170
4168 // Dispatched behavior. 4171 // Dispatched behavior.
(...skipping 6213 matching lines...) Expand 10 before | Expand all | Expand 10 after
10382 } else { 10385 } else {
10383 value &= ~(1 << bit_position); 10386 value &= ~(1 << bit_position);
10384 } 10387 }
10385 return value; 10388 return value;
10386 } 10389 }
10387 }; 10390 };
10388 10391
10389 } } // namespace v8::internal 10392 } } // namespace v8::internal
10390 10393
10391 #endif // V8_OBJECTS_H_ 10394 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698