| 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 7216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7227 DECL_ACCESSORS(prototype_or_initial_map, Object) | 7227 DECL_ACCESSORS(prototype_or_initial_map, Object) |
| 7228 | 7228 |
| 7229 // [shared]: The information about the function that | 7229 // [shared]: The information about the function that |
| 7230 // can be shared by instances. | 7230 // can be shared by instances. |
| 7231 DECL_ACCESSORS(shared, SharedFunctionInfo) | 7231 DECL_ACCESSORS(shared, SharedFunctionInfo) |
| 7232 | 7232 |
| 7233 // [context]: The context for this function. | 7233 // [context]: The context for this function. |
| 7234 inline Context* context(); | 7234 inline Context* context(); |
| 7235 inline void set_context(Object* context); | 7235 inline void set_context(Object* context); |
| 7236 inline JSObject* global_proxy(); | 7236 inline JSObject* global_proxy(); |
| 7237 inline Context* native_context(); |
| 7237 | 7238 |
| 7238 // [code]: The generated code object for this function. Executed | 7239 // [code]: The generated code object for this function. Executed |
| 7239 // when the function is invoked, e.g. foo() or new foo(). See | 7240 // when the function is invoked, e.g. foo() or new foo(). See |
| 7240 // [[Call]] and [[Construct]] description in ECMA-262, section | 7241 // [[Call]] and [[Construct]] description in ECMA-262, section |
| 7241 // 8.6.2, page 27. | 7242 // 8.6.2, page 27. |
| 7242 inline Code* code(); | 7243 inline Code* code(); |
| 7243 inline void set_code(Code* code); | 7244 inline void set_code(Code* code); |
| 7244 inline void set_code_no_write_barrier(Code* code); | 7245 inline void set_code_no_write_barrier(Code* code); |
| 7245 inline void ReplaceCode(Code* code); | 7246 inline void ReplaceCode(Code* code); |
| 7246 | 7247 |
| (...skipping 3485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10732 } | 10733 } |
| 10733 return value; | 10734 return value; |
| 10734 } | 10735 } |
| 10735 }; | 10736 }; |
| 10736 | 10737 |
| 10737 | 10738 |
| 10738 } // NOLINT, false-positive due to second-order macros. | 10739 } // NOLINT, false-positive due to second-order macros. |
| 10739 } // NOLINT, false-positive due to second-order macros. | 10740 } // NOLINT, false-positive due to second-order macros. |
| 10740 | 10741 |
| 10741 #endif // V8_OBJECTS_H_ | 10742 #endif // V8_OBJECTS_H_ |
| OLD | NEW |