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

Side by Side Diff: src/ast/ast-types.cc

Issue 2348493003: [builtins] move String.prototype[@@iterator] to C++ builtin (Closed)
Patch Set: V5 (try to make gcmole happy) Created 4 years, 3 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 <iomanip> 5 #include <iomanip>
6 6
7 #include "src/ast/ast-types.h" 7 #include "src/ast/ast-types.h"
8 8
9 #include "src/handles-inl.h" 9 #include "src/handles-inl.h"
10 #include "src/ostreams.h" 10 #include "src/ostreams.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 case JS_MODULE_TYPE: 211 case JS_MODULE_TYPE:
212 case JS_ARRAY_BUFFER_TYPE: 212 case JS_ARRAY_BUFFER_TYPE:
213 case JS_ARRAY_TYPE: 213 case JS_ARRAY_TYPE:
214 case JS_REGEXP_TYPE: // TODO(rossberg): there should be a RegExp type. 214 case JS_REGEXP_TYPE: // TODO(rossberg): there should be a RegExp type.
215 case JS_TYPED_ARRAY_TYPE: 215 case JS_TYPED_ARRAY_TYPE:
216 case JS_DATA_VIEW_TYPE: 216 case JS_DATA_VIEW_TYPE:
217 case JS_SET_TYPE: 217 case JS_SET_TYPE:
218 case JS_MAP_TYPE: 218 case JS_MAP_TYPE:
219 case JS_SET_ITERATOR_TYPE: 219 case JS_SET_ITERATOR_TYPE:
220 case JS_MAP_ITERATOR_TYPE: 220 case JS_MAP_ITERATOR_TYPE:
221 case JS_STRING_ITERATOR_TYPE:
221 case JS_WEAK_MAP_TYPE: 222 case JS_WEAK_MAP_TYPE:
222 case JS_WEAK_SET_TYPE: 223 case JS_WEAK_SET_TYPE:
223 case JS_PROMISE_TYPE: 224 case JS_PROMISE_TYPE:
224 case JS_BOUND_FUNCTION_TYPE: 225 case JS_BOUND_FUNCTION_TYPE:
225 DCHECK(!map->is_undetectable()); 226 DCHECK(!map->is_undetectable());
226 return kOtherObject; 227 return kOtherObject;
227 case JS_FUNCTION_TYPE: 228 case JS_FUNCTION_TYPE:
228 DCHECK(!map->is_undetectable()); 229 DCHECK(!map->is_undetectable());
229 return kFunction; 230 return kFunction;
230 case JS_PROXY_TYPE: 231 case JS_PROXY_TYPE:
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 #undef CONSTRUCT_SIMD_TYPE 1260 #undef CONSTRUCT_SIMD_TYPE
1260 1261
1261 // ----------------------------------------------------------------------------- 1262 // -----------------------------------------------------------------------------
1262 // Instantiations. 1263 // Instantiations.
1263 1264
1264 template class AstType::Iterator<i::Map>; 1265 template class AstType::Iterator<i::Map>;
1265 template class AstType::Iterator<i::Object>; 1266 template class AstType::Iterator<i::Object>;
1266 1267
1267 } // namespace internal 1268 } // namespace internal
1268 } // namespace v8 1269 } // namespace v8
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/bootstrapper.cc » ('j') | src/builtins/builtins-string.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698