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

Side by Side Diff: src/runtime.h

Issue 236143002: ES6: Add support for Map.prototype.forEach and Set.prototype.forEach (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add test that calls gc() 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
« no previous file with comments | « src/objects-visiting.cc ('k') | src/runtime.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 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 F(GetHandler, 1, 1) \ 291 F(GetHandler, 1, 1) \
292 F(GetCallTrap, 1, 1) \ 292 F(GetCallTrap, 1, 1) \
293 F(GetConstructTrap, 1, 1) \ 293 F(GetConstructTrap, 1, 1) \
294 F(Fix, 1, 1) \ 294 F(Fix, 1, 1) \
295 \ 295 \
296 /* Harmony sets */ \ 296 /* Harmony sets */ \
297 F(SetInitialize, 1, 1) \ 297 F(SetInitialize, 1, 1) \
298 F(SetAdd, 2, 1) \ 298 F(SetAdd, 2, 1) \
299 F(SetHas, 2, 1) \ 299 F(SetHas, 2, 1) \
300 F(SetDelete, 2, 1) \ 300 F(SetDelete, 2, 1) \
301 F(SetClear, 1, 1) \
301 F(SetGetSize, 1, 1) \ 302 F(SetGetSize, 1, 1) \
303 F(SetCreateIterator, 2, 1) \
304 \
305 F(SetIteratorNext, 1, 1) \
306 F(SetIteratorClose, 1, 1) \
302 \ 307 \
303 /* Harmony maps */ \ 308 /* Harmony maps */ \
304 F(MapInitialize, 1, 1) \ 309 F(MapInitialize, 1, 1) \
305 F(MapGet, 2, 1) \ 310 F(MapGet, 2, 1) \
306 F(MapHas, 2, 1) \ 311 F(MapHas, 2, 1) \
307 F(MapDelete, 2, 1) \ 312 F(MapDelete, 2, 1) \
313 F(MapClear, 1, 1) \
308 F(MapSet, 3, 1) \ 314 F(MapSet, 3, 1) \
309 F(MapGetSize, 1, 1) \ 315 F(MapGetSize, 1, 1) \
316 F(MapCreateIterator, 2, 1) \
317 \
318 F(MapIteratorNext, 1, 1) \
319 F(MapIteratorClose, 1, 1) \
310 \ 320 \
311 /* Harmony weak maps and sets */ \ 321 /* Harmony weak maps and sets */ \
312 F(WeakCollectionInitialize, 1, 1) \ 322 F(WeakCollectionInitialize, 1, 1) \
313 F(WeakCollectionGet, 2, 1) \ 323 F(WeakCollectionGet, 2, 1) \
314 F(WeakCollectionHas, 2, 1) \ 324 F(WeakCollectionHas, 2, 1) \
315 F(WeakCollectionDelete, 2, 1) \ 325 F(WeakCollectionDelete, 2, 1) \
316 F(WeakCollectionSet, 3, 1) \ 326 F(WeakCollectionSet, 3, 1) \
317 \ 327 \
318 /* Harmony events */ \ 328 /* Harmony events */ \
319 F(SetMicrotaskPending, 1, 1) \ 329 F(SetMicrotaskPending, 1, 1) \
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 923 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
914 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 924 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
915 925
916 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 926 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
917 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 927 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
918 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 928 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
919 929
920 } } // namespace v8::internal 930 } } // namespace v8::internal
921 931
922 #endif // V8_RUNTIME_H_ 932 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-visiting.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698