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

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

Issue 2558443002: Move code-stub-assembler.h includes from builtins-utils.h to respective .cc files. (Closed)
Patch Set: Addressing comments Created 4 years 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-object.cc ('k') | src/builtins/builtins-regexp.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-utils.h" 5 #include "src/builtins/builtins-utils.h"
6 #include "src/builtins/builtins.h" 6 #include "src/builtins/builtins.h"
7
8 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stub-assembler.h"
9 #include "src/promise-utils.h" 9 #include "src/promise-utils.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 // ES#sec-promise-resolve-functions 14 // ES#sec-promise-resolve-functions
15 // Promise Resolve Functions 15 // Promise Resolve Functions
16 BUILTIN(PromiseResolveClosure) { 16 BUILTIN(PromiseResolveClosure) {
17 HandleScope scope(isolate); 17 HandleScope scope(isolate);
18 18
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 Node* const key = 657 Node* const key =
658 a.HeapConstant(isolate->factory()->NewStringFromAsciiChecked("promise")); 658 a.HeapConstant(isolate->factory()->NewStringFromAsciiChecked("promise"));
659 Node* const result = 659 Node* const result =
660 a.CallStub(getproperty_callable, context, var_deferred.value(), key); 660 a.CallStub(getproperty_callable, context, var_deferred.value(), key);
661 661
662 a.Return(result); 662 a.Return(result);
663 } 663 }
664 664
665 } // namespace internal 665 } // namespace internal
666 } // namespace v8 666 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins-object.cc ('k') | src/builtins/builtins-regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698