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

Side by Side Diff: src/runtime.h

Issue 238063009: ES6: Add support for Map/Set forEach (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove explicit instantiation of private and functions in objects-inl.h Created 6 years, 8 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 F(GetHandler, 1, 1) \ 290 F(GetHandler, 1, 1) \
291 F(GetCallTrap, 1, 1) \ 291 F(GetCallTrap, 1, 1) \
292 F(GetConstructTrap, 1, 1) \ 292 F(GetConstructTrap, 1, 1) \
293 F(Fix, 1, 1) \ 293 F(Fix, 1, 1) \
294 \ 294 \
295 /* Harmony sets */ \ 295 /* Harmony sets */ \
296 F(SetInitialize, 1, 1) \ 296 F(SetInitialize, 1, 1) \
297 F(SetAdd, 2, 1) \ 297 F(SetAdd, 2, 1) \
298 F(SetHas, 2, 1) \ 298 F(SetHas, 2, 1) \
299 F(SetDelete, 2, 1) \ 299 F(SetDelete, 2, 1) \
300 F(SetClear, 1, 1) \
300 F(SetGetSize, 1, 1) \ 301 F(SetGetSize, 1, 1) \
302 F(SetCreateIterator, 2, 1) \
303 \
304 F(SetIteratorNext, 1, 1) \
305 F(SetIteratorClose, 1, 1) \
301 \ 306 \
302 /* Harmony maps */ \ 307 /* Harmony maps */ \
303 F(MapInitialize, 1, 1) \ 308 F(MapInitialize, 1, 1) \
304 F(MapGet, 2, 1) \ 309 F(MapGet, 2, 1) \
305 F(MapHas, 2, 1) \ 310 F(MapHas, 2, 1) \
306 F(MapDelete, 2, 1) \ 311 F(MapDelete, 2, 1) \
312 F(MapClear, 1, 1) \
307 F(MapSet, 3, 1) \ 313 F(MapSet, 3, 1) \
308 F(MapGetSize, 1, 1) \ 314 F(MapGetSize, 1, 1) \
315 F(MapCreateIterator, 2, 1) \
316 \
317 F(MapIteratorNext, 1, 1) \
318 F(MapIteratorClose, 1, 1) \
309 \ 319 \
310 /* Harmony weak maps and sets */ \ 320 /* Harmony weak maps and sets */ \
311 F(WeakCollectionInitialize, 1, 1) \ 321 F(WeakCollectionInitialize, 1, 1) \
312 F(WeakCollectionGet, 2, 1) \ 322 F(WeakCollectionGet, 2, 1) \
313 F(WeakCollectionHas, 2, 1) \ 323 F(WeakCollectionHas, 2, 1) \
314 F(WeakCollectionDelete, 2, 1) \ 324 F(WeakCollectionDelete, 2, 1) \
315 F(WeakCollectionSet, 3, 1) \ 325 F(WeakCollectionSet, 3, 1) \
316 \ 326 \
317 /* Harmony events */ \ 327 /* Harmony events */ \
318 F(SetMicrotaskPending, 1, 1) \ 328 F(SetMicrotaskPending, 1, 1) \
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 918 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
909 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 919 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
910 920
911 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 921 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
912 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 922 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
913 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 923 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
914 924
915 } } // namespace v8::internal 925 } } // namespace v8::internal
916 926
917 #endif // V8_RUNTIME_H_ 927 #endif // V8_RUNTIME_H_
OLDNEW
« src/objects-printer.cc ('K') | « src/objects-visiting.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698