| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_BUILTINS_BUILTINS_PROMISE_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_PROMISE_H_ |
| 6 #define V8_BUILTINS_BUILTINS_PROMISE_H_ | 6 #define V8_BUILTINS_BUILTINS_PROMISE_H_ |
| 7 | 7 |
| 8 #include "src/code-stub-assembler.h" | 8 #include "src/code-stub-assembler.h" |
| 9 #include "src/contexts.h" | 9 #include "src/contexts.h" |
| 10 | 10 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 Node* CreateThrowerFunction(Node* reason, Node* native_context); | 136 Node* CreateThrowerFunction(Node* reason, Node* native_context); |
| 137 | 137 |
| 138 private: | 138 private: |
| 139 Node* AllocateJSPromise(Node* context); | 139 Node* AllocateJSPromise(Node* context); |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 } // namespace internal | 142 } // namespace internal |
| 143 } // namespace v8 | 143 } // namespace v8 |
| 144 | 144 |
| 145 #endif // V8_BUILTINS_BUILTINS_PROMISE_H_ | 145 #endif // V8_BUILTINS_BUILTINS_PROMISE_H_ |
| OLD | NEW |