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

Side by Side Diff: src/runtime.h

Issue 289503002: ES6 Map/Set iterators/forEach improvements (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: partial code review feedback update Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_RUNTIME_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_RUNTIME_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "zone.h" 9 #include "zone.h"
10 10
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 /* Harmony sets */ \ 272 /* Harmony sets */ \
273 F(SetInitialize, 1, 1) \ 273 F(SetInitialize, 1, 1) \
274 F(SetAdd, 2, 1) \ 274 F(SetAdd, 2, 1) \
275 F(SetHas, 2, 1) \ 275 F(SetHas, 2, 1) \
276 F(SetDelete, 2, 1) \ 276 F(SetDelete, 2, 1) \
277 F(SetClear, 1, 1) \ 277 F(SetClear, 1, 1) \
278 F(SetGetSize, 1, 1) \ 278 F(SetGetSize, 1, 1) \
279 F(SetCreateIterator, 2, 1) \ 279 F(SetCreateIterator, 2, 1) \
280 \ 280 \
281 F(SetIteratorNext, 1, 1) \ 281 F(SetIteratorNext, 1, 1) \
282 F(SetIteratorClose, 1, 1) \
283 \ 282 \
284 /* Harmony maps */ \ 283 /* Harmony maps */ \
285 F(MapInitialize, 1, 1) \ 284 F(MapInitialize, 1, 1) \
286 F(MapGet, 2, 1) \ 285 F(MapGet, 2, 1) \
287 F(MapHas, 2, 1) \ 286 F(MapHas, 2, 1) \
288 F(MapDelete, 2, 1) \ 287 F(MapDelete, 2, 1) \
289 F(MapClear, 1, 1) \ 288 F(MapClear, 1, 1) \
290 F(MapSet, 3, 1) \ 289 F(MapSet, 3, 1) \
291 F(MapGetSize, 1, 1) \ 290 F(MapGetSize, 1, 1) \
292 F(MapCreateIterator, 2, 1) \ 291 F(MapCreateIterator, 2, 1) \
293 \ 292 \
294 F(MapIteratorNext, 1, 1) \ 293 F(MapIteratorNext, 1, 1) \
295 F(MapIteratorClose, 1, 1) \
296 \ 294 \
297 /* Harmony weak maps and sets */ \ 295 /* Harmony weak maps and sets */ \
298 F(WeakCollectionInitialize, 1, 1) \ 296 F(WeakCollectionInitialize, 1, 1) \
299 F(WeakCollectionGet, 2, 1) \ 297 F(WeakCollectionGet, 2, 1) \
300 F(WeakCollectionHas, 2, 1) \ 298 F(WeakCollectionHas, 2, 1) \
301 F(WeakCollectionDelete, 2, 1) \ 299 F(WeakCollectionDelete, 2, 1) \
302 F(WeakCollectionSet, 3, 1) \ 300 F(WeakCollectionSet, 3, 1) \
303 \ 301 \
304 /* Harmony events */ \ 302 /* Harmony events */ \
305 F(SetMicrotaskPending, 1, 1) \ 303 F(SetMicrotaskPending, 1, 1) \
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 893 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
896 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 894 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
897 895
898 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 896 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
899 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 897 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
900 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 898 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
901 899
902 } } // namespace v8::internal 900 } } // namespace v8::internal
903 901
904 #endif // V8_RUNTIME_H_ 902 #endif // V8_RUNTIME_H_
OLDNEW
« src/objects.cc ('K') | « src/objects-printer.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698