OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 5333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5344 inline void set_compiler_hints(int value); | 5344 inline void set_compiler_hints(int value); |
5345 | 5345 |
5346 inline int ast_node_count(); | 5346 inline int ast_node_count(); |
5347 inline void set_ast_node_count(int count); | 5347 inline void set_ast_node_count(int count); |
5348 | 5348 |
5349 // A counter used to determine when to stress the deoptimizer with a | 5349 // A counter used to determine when to stress the deoptimizer with a |
5350 // deopt. | 5350 // deopt. |
5351 inline int deopt_counter(); | 5351 inline int deopt_counter(); |
5352 inline void set_deopt_counter(int counter); | 5352 inline void set_deopt_counter(int counter); |
5353 | 5353 |
| 5354 inline int profiler_ticks(); |
| 5355 |
5354 // Inline cache age is used to infer whether the function survived a context | 5356 // Inline cache age is used to infer whether the function survived a context |
5355 // disposal or not. In the former case we reset the opt_count. | 5357 // disposal or not. In the former case we reset the opt_count. |
5356 inline int ic_age(); | 5358 inline int ic_age(); |
5357 inline void set_ic_age(int age); | 5359 inline void set_ic_age(int age); |
5358 | 5360 |
5359 // Add information on assignments of the form this.x = ...; | 5361 // Add information on assignments of the form this.x = ...; |
5360 void SetThisPropertyAssignmentsInfo( | 5362 void SetThisPropertyAssignmentsInfo( |
5361 bool has_only_simple_this_property_assignments, | 5363 bool has_only_simple_this_property_assignments, |
5362 FixedArray* this_property_assignments); | 5364 FixedArray* this_property_assignments); |
5363 | 5365 |
(...skipping 3294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8658 } else { | 8660 } else { |
8659 value &= ~(1 << bit_position); | 8661 value &= ~(1 << bit_position); |
8660 } | 8662 } |
8661 return value; | 8663 return value; |
8662 } | 8664 } |
8663 }; | 8665 }; |
8664 | 8666 |
8665 } } // namespace v8::internal | 8667 } } // namespace v8::internal |
8666 | 8668 |
8667 #endif // V8_OBJECTS_H_ | 8669 #endif // V8_OBJECTS_H_ |
OLD | NEW |