Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Side by Side Diff: src/builtins/builtins-promise-gen.cc

Issue 2760953002: [builtins] Move more files into v8_builtins_generators source set (Closed)
Patch Set: rebased Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/builtins/builtins-promise-gen.h ('k') | src/builtins/builtins-regexp-gen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "src/builtins/builtins-constructor.h" 5 #include "src/builtins/builtins-promise-gen.h"
6 #include "src/builtins/builtins-promise.h" 6
7 #include "src/builtins/builtins-constructor-gen.h"
7 #include "src/builtins/builtins-utils-gen.h" 8 #include "src/builtins/builtins-utils-gen.h"
8 #include "src/builtins/builtins.h" 9 #include "src/builtins/builtins.h"
9 #include "src/code-factory.h" 10 #include "src/code-factory.h"
10 #include "src/code-stub-assembler.h" 11 #include "src/code-stub-assembler.h"
11 #include "src/objects-inl.h" 12 #include "src/objects-inl.h"
12 13
13 namespace v8 { 14 namespace v8 {
14 namespace internal { 15 namespace internal {
15 16
16 using compiler::Node; 17 using compiler::Node;
(...skipping 1737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1754 // 5. Return ? Invoke(promise, "then", « thenFinally, catchFinally »). 1755 // 5. Return ? Invoke(promise, "then", « thenFinally, catchFinally »).
1755 Node* const result = 1756 Node* const result =
1756 CallJS(call_callable, context, then, promise, var_then_finally.value(), 1757 CallJS(call_callable, context, then, promise, var_then_finally.value(),
1757 var_catch_finally.value()); 1758 var_catch_finally.value());
1758 Return(result); 1759 Return(result);
1759 } 1760 }
1760 } 1761 }
1761 1762
1762 } // namespace internal 1763 } // namespace internal
1763 } // namespace v8 1764 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins-promise-gen.h ('k') | src/builtins/builtins-regexp-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698