OLD | NEW |
1 // Copyright 2017 the V8 project authors. All rights reserved. | 1 // Copyright 2017 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 #include "src/builtins/builtins-async.h" | 5 #include "src/builtins/builtins-async-gen.h" |
6 #include "src/builtins/builtins-utils-gen.h" | 6 #include "src/builtins/builtins-utils-gen.h" |
7 #include "src/builtins/builtins.h" | 7 #include "src/builtins/builtins.h" |
8 #include "src/code-stub-assembler.h" | 8 #include "src/code-stub-assembler.h" |
9 #include "src/objects-inl.h" | 9 #include "src/objects-inl.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 class AsyncFunctionBuiltinsAssembler : public AsyncBuiltinsAssembler { | 14 class AsyncFunctionBuiltinsAssembler : public AsyncBuiltinsAssembler { |
15 public: | 15 public: |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 { | 195 { |
196 // Pop the Promise under construction in an async function on | 196 // Pop the Promise under construction in an async function on |
197 // from catch prediction stack. | 197 // from catch prediction stack. |
198 CallRuntime(Runtime::kDebugPopPromise, context); | 198 CallRuntime(Runtime::kDebugPopPromise, context); |
199 Return(promise); | 199 Return(promise); |
200 } | 200 } |
201 } | 201 } |
202 | 202 |
203 } // namespace internal | 203 } // namespace internal |
204 } // namespace v8 | 204 } // namespace v8 |
OLD | NEW |