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

Side by Side Diff: src/runtime.h

Issue 11360089: ES6: Adding support for size to Set and Map (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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/collection.js ('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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 F(GetHandler, 1, 1) \ 295 F(GetHandler, 1, 1) \
296 F(GetCallTrap, 1, 1) \ 296 F(GetCallTrap, 1, 1) \
297 F(GetConstructTrap, 1, 1) \ 297 F(GetConstructTrap, 1, 1) \
298 F(Fix, 1, 1) \ 298 F(Fix, 1, 1) \
299 \ 299 \
300 /* Harmony sets */ \ 300 /* Harmony sets */ \
301 F(SetInitialize, 1, 1) \ 301 F(SetInitialize, 1, 1) \
302 F(SetAdd, 2, 1) \ 302 F(SetAdd, 2, 1) \
303 F(SetHas, 2, 1) \ 303 F(SetHas, 2, 1) \
304 F(SetDelete, 2, 1) \ 304 F(SetDelete, 2, 1) \
305 F(SetGetSize, 1, 1) \
305 \ 306 \
306 /* Harmony maps */ \ 307 /* Harmony maps */ \
307 F(MapInitialize, 1, 1) \ 308 F(MapInitialize, 1, 1) \
308 F(MapGet, 2, 1) \ 309 F(MapGet, 2, 1) \
309 F(MapHas, 2, 1) \ 310 F(MapHas, 2, 1) \
310 F(MapDelete, 2, 1) \ 311 F(MapDelete, 2, 1) \
311 F(MapSet, 3, 1) \ 312 F(MapSet, 3, 1) \
313 F(MapGetSize, 1, 1) \
312 \ 314 \
313 /* Harmony weakmaps */ \ 315 /* Harmony weakmaps */ \
314 F(WeakMapInitialize, 1, 1) \ 316 F(WeakMapInitialize, 1, 1) \
315 F(WeakMapGet, 2, 1) \ 317 F(WeakMapGet, 2, 1) \
316 F(WeakMapHas, 2, 1) \ 318 F(WeakMapHas, 2, 1) \
317 F(WeakMapDelete, 2, 1) \ 319 F(WeakMapDelete, 2, 1) \
318 F(WeakMapSet, 3, 1) \ 320 F(WeakMapSet, 3, 1) \
319 \ 321 \
320 /* Statements */ \ 322 /* Statements */ \
321 F(NewClosure, 3, 1) \ 323 F(NewClosure, 3, 1) \
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 //--------------------------------------------------------------------------- 706 //---------------------------------------------------------------------------
705 // Constants used by interface to runtime functions. 707 // Constants used by interface to runtime functions.
706 708
707 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 709 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
708 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 710 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
709 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 711 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
710 712
711 } } // namespace v8::internal 713 } } // namespace v8::internal
712 714
713 #endif // V8_RUNTIME_H_ 715 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/collection.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698