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

Side by Side Diff: src/builtins/builtins-utils.h

Issue 2558443002: Move code-stub-assembler.h includes from builtins-utils.h to respective .cc files. (Closed)
Patch Set: 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-typedarray.cc ('k') | src/compiler/linkage.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 #ifndef V8_BUILTINS_BUILTINS_UTILS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_UTILS_H_
6 #define V8_BUILTINS_BUILTINS_UTILS_H_ 6 #define V8_BUILTINS_BUILTINS_UTILS_H_
7 7
8 #include "src/arguments.h" 8 #include "src/arguments.h"
9 #include "src/base/logging.h" 9 #include "src/base/logging.h"
10 #include "src/builtins/builtins.h" 10 #include "src/builtins/builtins.h"
11 #include "src/code-stub-assembler.h" 11 #include "src/code-stub-assembler.h"
epertoso 2016/12/06 10:38:17 Remove it from here?
Igor Sheludko 2016/12/06 10:43:46 Aghr! Leftover. Thanks!
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 namespace compiler {
17 class CodeAssemblerState;
18 }
19
16 // Arguments object passed to C++ builtins. 20 // Arguments object passed to C++ builtins.
17 class BuiltinArguments : public Arguments { 21 class BuiltinArguments : public Arguments {
18 public: 22 public:
19 BuiltinArguments(int length, Object** arguments) 23 BuiltinArguments(int length, Object** arguments)
20 : Arguments(length, arguments) { 24 : Arguments(length, arguments) {
21 // Check we have at least the receiver. 25 // Check we have at least the receiver.
22 DCHECK_LE(1, this->length()); 26 DCHECK_LE(1, this->length());
23 } 27 }
24 28
25 Object*& operator[](int index) { 29 Object*& operator[](int index) {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 isolate->factory()->NewStringFromAsciiChecked(method))); \ 154 isolate->factory()->NewStringFromAsciiChecked(method))); \
151 } \ 155 } \
152 Handle<String> name; \ 156 Handle<String> name; \
153 ASSIGN_RETURN_FAILURE_ON_EXCEPTION( \ 157 ASSIGN_RETURN_FAILURE_ON_EXCEPTION( \
154 isolate, name, Object::ToString(isolate, args.receiver())) 158 isolate, name, Object::ToString(isolate, args.receiver()))
155 159
156 } // namespace internal 160 } // namespace internal
157 } // namespace v8 161 } // namespace v8
158 162
159 #endif // V8_BUILTINS_BUILTINS_UTILS_H_ 163 #endif // V8_BUILTINS_BUILTINS_UTILS_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-typedarray.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698