Chromium Code Reviews

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

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.
Jump to:
View unified diff |
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.h" 6 #include "src/builtins/builtins.h"
6 #include "src/builtins/builtins-utils.h" 7 #include "src/code-stub-assembler.h"
7 8
8 namespace v8 { 9 namespace v8 {
9 namespace internal { 10 namespace internal {
10 11
11 // ----------------------------------------------------------------------------- 12 // -----------------------------------------------------------------------------
12 // ES6 section 22.2 TypedArray Objects 13 // ES6 section 22.2 TypedArray Objects
13 14
14 // ES6 section 22.2.3.1 get %TypedArray%.prototype.buffer 15 // ES6 section 22.2.3.1 get %TypedArray%.prototype.buffer
15 BUILTIN(TypedArrayPrototypeBuffer) { 16 BUILTIN(TypedArrayPrototypeBuffer) {
16 HandleScope scope(isolate); 17 HandleScope scope(isolate);
(...skipping 144 matching lines...)
161 } 162 }
162 163
163 void Builtins::Generate_TypedArrayPrototypeKeys( 164 void Builtins::Generate_TypedArrayPrototypeKeys(
164 compiler::CodeAssemblerState* state) { 165 compiler::CodeAssemblerState* state) {
165 Generate_TypedArrayPrototypeIterationMethod<IterationKind::kKeys>( 166 Generate_TypedArrayPrototypeIterationMethod<IterationKind::kKeys>(
166 state, "%TypedArray%.prototype.keys()"); 167 state, "%TypedArray%.prototype.keys()");
167 } 168 }
168 169
169 } // namespace internal 170 } // namespace internal
170 } // namespace v8 171 } // namespace v8
OLDNEW

Powered by Google App Engine