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

Side by Side Diff: src/runtime.h

Issue 10658014: Fix Harmony Maps and WeakMaps for undefined values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Adapted unit test case. Created 8 years, 6 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.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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 \ 301 \
302 /* Harmony maps */ \ 302 /* Harmony maps */ \
303 F(MapInitialize, 1, 1) \ 303 F(MapInitialize, 1, 1) \
304 F(MapGet, 2, 1) \ 304 F(MapGet, 2, 1) \
305 F(MapHas, 2, 1) \
306 F(MapDelete, 2, 1) \
305 F(MapSet, 3, 1) \ 307 F(MapSet, 3, 1) \
306 \ 308 \
307 /* Harmony weakmaps */ \ 309 /* Harmony weakmaps */ \
308 F(WeakMapInitialize, 1, 1) \ 310 F(WeakMapInitialize, 1, 1) \
309 F(WeakMapGet, 2, 1) \ 311 F(WeakMapGet, 2, 1) \
312 F(WeakMapHas, 2, 1) \
313 F(WeakMapDelete, 2, 1) \
310 F(WeakMapSet, 3, 1) \ 314 F(WeakMapSet, 3, 1) \
311 \ 315 \
312 /* Statements */ \ 316 /* Statements */ \
313 F(NewClosure, 3, 1) \ 317 F(NewClosure, 3, 1) \
314 F(NewObject, 1, 1) \ 318 F(NewObject, 1, 1) \
315 F(NewObjectFromBound, 1, 1) \ 319 F(NewObjectFromBound, 1, 1) \
316 F(FinalizeInstanceSize, 1, 1) \ 320 F(FinalizeInstanceSize, 1, 1) \
317 F(Throw, 1, 1) \ 321 F(Throw, 1, 1) \
318 F(ReThrow, 1, 1) \ 322 F(ReThrow, 1, 1) \
319 F(ThrowReferenceError, 1, 1) \ 323 F(ThrowReferenceError, 1, 1) \
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 //--------------------------------------------------------------------------- 710 //---------------------------------------------------------------------------
707 // Constants used by interface to runtime functions. 711 // Constants used by interface to runtime functions.
708 712
709 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 713 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
710 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 714 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
711 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 715 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
712 716
713 } } // namespace v8::internal 717 } } // namespace v8::internal
714 718
715 #endif // V8_RUNTIME_H_ 719 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698