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

Side by Side Diff: src/runtime.h

Issue 8372027: Implement Harmony sets and maps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Andreas Rossberg. Created 9 years, 2 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 /* Harmony proxies */ \ 289 /* Harmony proxies */ \
290 F(CreateJSProxy, 2, 1) \ 290 F(CreateJSProxy, 2, 1) \
291 F(CreateJSFunctionProxy, 4, 1) \ 291 F(CreateJSFunctionProxy, 4, 1) \
292 F(IsJSProxy, 1, 1) \ 292 F(IsJSProxy, 1, 1) \
293 F(IsJSFunctionProxy, 1, 1) \ 293 F(IsJSFunctionProxy, 1, 1) \
294 F(GetHandler, 1, 1) \ 294 F(GetHandler, 1, 1) \
295 F(GetCallTrap, 1, 1) \ 295 F(GetCallTrap, 1, 1) \
296 F(GetConstructTrap, 1, 1) \ 296 F(GetConstructTrap, 1, 1) \
297 F(Fix, 1, 1) \ 297 F(Fix, 1, 1) \
298 \ 298 \
299 /* Harmony sets */ \
300 F(SetInitialize, 1, 1) \
301 F(SetAdd, 2, 1) \
302 F(SetHas, 2, 1) \
303 F(SetDelete, 2, 1) \
304 \
305 /* Harmony maps */ \
306 F(MapInitialize, 1, 1) \
307 F(MapGet, 2, 1) \
308 F(MapSet, 3, 1) \
309 \
299 /* Harmony weakmaps */ \ 310 /* Harmony weakmaps */ \
300 F(WeakMapInitialize, 1, 1) \ 311 F(WeakMapInitialize, 1, 1) \
301 F(WeakMapGet, 2, 1) \ 312 F(WeakMapGet, 2, 1) \
302 F(WeakMapSet, 3, 1) \ 313 F(WeakMapSet, 3, 1) \
303 \ 314 \
304 /* Statements */ \ 315 /* Statements */ \
305 F(NewClosure, 3, 1) \ 316 F(NewClosure, 3, 1) \
306 F(NewObject, 1, 1) \ 317 F(NewObject, 1, 1) \
307 F(NewObjectFromBound, 1, 1) \ 318 F(NewObjectFromBound, 1, 1) \
308 F(FinalizeInstanceSize, 1, 1) \ 319 F(FinalizeInstanceSize, 1, 1) \
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 688
678 enum kDeclareGlobalsFlags { 689 enum kDeclareGlobalsFlags {
679 kDeclareGlobalsEvalFlag = 1 << 0, 690 kDeclareGlobalsEvalFlag = 1 << 0,
680 kDeclareGlobalsStrictModeFlag = 1 << 1, 691 kDeclareGlobalsStrictModeFlag = 1 << 1,
681 kDeclareGlobalsNativeFlag = 1 << 2 692 kDeclareGlobalsNativeFlag = 1 << 2
682 }; 693 };
683 694
684 } } // namespace v8::internal 695 } } // namespace v8::internal
685 696
686 #endif // V8_RUNTIME_H_ 697 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698