| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 7279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7290 // properties. | 7290 // properties. |
| 7291 DECL_ACCESSORS(function_identifier, Object) | 7291 DECL_ACCESSORS(function_identifier, Object) |
| 7292 | 7292 |
| 7293 inline bool HasBuiltinFunctionId(); | 7293 inline bool HasBuiltinFunctionId(); |
| 7294 inline BuiltinFunctionId builtin_function_id(); | 7294 inline BuiltinFunctionId builtin_function_id(); |
| 7295 inline void set_builtin_function_id(BuiltinFunctionId id); | 7295 inline void set_builtin_function_id(BuiltinFunctionId id); |
| 7296 inline bool HasInferredName(); | 7296 inline bool HasInferredName(); |
| 7297 inline String* inferred_name(); | 7297 inline String* inferred_name(); |
| 7298 inline void set_inferred_name(String* inferred_name); | 7298 inline void set_inferred_name(String* inferred_name); |
| 7299 | 7299 |
| 7300 // [script info]: Script from which the function originates. | 7300 // [script]: Script from which the function originates. |
| 7301 DECL_ACCESSORS(script, Object) | 7301 DECL_ACCESSORS(script, Object) |
| 7302 | 7302 |
| 7303 // [num_literals]: Number of literals used by this function. | 7303 // [num_literals]: Number of literals used by this function. |
| 7304 inline int num_literals() const; | 7304 inline int num_literals() const; |
| 7305 inline void set_num_literals(int value); | 7305 inline void set_num_literals(int value); |
| 7306 | 7306 |
| 7307 // [start_position_and_type]: Field used to store both the source code | 7307 // [start_position_and_type]: Field used to store both the source code |
| 7308 // position, whether or not the function is a function expression, | 7308 // position, whether or not the function is a function expression, |
| 7309 // and whether or not the function is a toplevel function. The two | 7309 // and whether or not the function is a toplevel function. The two |
| 7310 // least significants bit indicates whether the function is an | 7310 // least significants bit indicates whether the function is an |
| (...skipping 4130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11441 } | 11441 } |
| 11442 return value; | 11442 return value; |
| 11443 } | 11443 } |
| 11444 }; | 11444 }; |
| 11445 | 11445 |
| 11446 | 11446 |
| 11447 } // NOLINT, false-positive due to second-order macros. | 11447 } // NOLINT, false-positive due to second-order macros. |
| 11448 } // NOLINT, false-positive due to second-order macros. | 11448 } // NOLINT, false-positive due to second-order macros. |
| 11449 | 11449 |
| 11450 #endif // V8_OBJECTS_H_ | 11450 #endif // V8_OBJECTS_H_ |
| OLD | NEW |