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 4929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4940 static MUST_USE_RESULT bool FinishInstantiate(Handle<Module> module, | 4940 static MUST_USE_RESULT bool FinishInstantiate(Handle<Module> module, |
4941 v8::Local<v8::Context> context); | 4941 v8::Local<v8::Context> context); |
4942 | 4942 |
4943 DISALLOW_IMPLICIT_CONSTRUCTORS(Module); | 4943 DISALLOW_IMPLICIT_CONSTRUCTORS(Module); |
4944 }; | 4944 }; |
4945 | 4945 |
4946 // JSBoundFunction describes a bound function exotic object. | 4946 // JSBoundFunction describes a bound function exotic object. |
4947 class JSBoundFunction : public JSObject { | 4947 class JSBoundFunction : public JSObject { |
4948 public: | 4948 public: |
4949 // [bound_target_function]: The wrapped function object. | 4949 // [bound_target_function]: The wrapped function object. |
| 4950 inline Object* raw_bound_target_function() const; |
4950 DECL_ACCESSORS(bound_target_function, JSReceiver) | 4951 DECL_ACCESSORS(bound_target_function, JSReceiver) |
4951 | 4952 |
4952 // [bound_this]: The value that is always passed as the this value when | 4953 // [bound_this]: The value that is always passed as the this value when |
4953 // calling the wrapped function. | 4954 // calling the wrapped function. |
4954 DECL_ACCESSORS(bound_this, Object) | 4955 DECL_ACCESSORS(bound_this, Object) |
4955 | 4956 |
4956 // [bound_arguments]: A list of values whose elements are used as the first | 4957 // [bound_arguments]: A list of values whose elements are used as the first |
4957 // arguments to any call to the wrapped function. | 4958 // arguments to any call to the wrapped function. |
4958 DECL_ACCESSORS(bound_arguments, FixedArray) | 4959 DECL_ACCESSORS(bound_arguments, FixedArray) |
4959 | 4960 |
(...skipping 2307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7267 } | 7268 } |
7268 }; | 7269 }; |
7269 | 7270 |
7270 | 7271 |
7271 } // NOLINT, false-positive due to second-order macros. | 7272 } // NOLINT, false-positive due to second-order macros. |
7272 } // NOLINT, false-positive due to second-order macros. | 7273 } // NOLINT, false-positive due to second-order macros. |
7273 | 7274 |
7274 #include "src/objects/object-macros-undef.h" | 7275 #include "src/objects/object-macros-undef.h" |
7275 | 7276 |
7276 #endif // V8_OBJECTS_H_ | 7277 #endif // V8_OBJECTS_H_ |
OLD | NEW |