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

Side by Side Diff: src/runtime.h

Issue 64223010: Harmony promises (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 F(MapSet, 3, 1) \ 346 F(MapSet, 3, 1) \
347 F(MapGetSize, 1, 1) \ 347 F(MapGetSize, 1, 1) \
348 \ 348 \
349 /* Harmony weak maps and sets */ \ 349 /* Harmony weak maps and sets */ \
350 F(WeakCollectionInitialize, 1, 1) \ 350 F(WeakCollectionInitialize, 1, 1) \
351 F(WeakCollectionGet, 2, 1) \ 351 F(WeakCollectionGet, 2, 1) \
352 F(WeakCollectionHas, 2, 1) \ 352 F(WeakCollectionHas, 2, 1) \
353 F(WeakCollectionDelete, 2, 1) \ 353 F(WeakCollectionDelete, 2, 1) \
354 F(WeakCollectionSet, 3, 1) \ 354 F(WeakCollectionSet, 3, 1) \
355 \ 355 \
356 /* Harmony events */ \
357 F(SetMicrotasksPending, 1, 1) \
358 F(FailHard, 1, 1) \
Michael Starzinger 2013/11/15 09:37:20 Let's move this declaration near Runtime_Abort.
rossberg 2013/11/15 10:00:58 Done.
359 \
356 /* Harmony observe */ \ 360 /* Harmony observe */ \
357 F(IsObserved, 1, 1) \ 361 F(IsObserved, 1, 1) \
358 F(SetIsObserved, 1, 1) \ 362 F(SetIsObserved, 1, 1) \
359 F(SetObserverDeliveryPending, 0, 1) \
360 F(GetObservationState, 0, 1) \ 363 F(GetObservationState, 0, 1) \
361 F(ObservationWeakMapCreate, 0, 1) \ 364 F(ObservationWeakMapCreate, 0, 1) \
362 F(UnwrapGlobalProxy, 1, 1) \ 365 F(UnwrapGlobalProxy, 1, 1) \
363 F(IsAccessAllowedForObserver, 3, 1) \ 366 F(IsAccessAllowedForObserver, 3, 1) \
364 \ 367 \
365 /* Harmony typed arrays */ \ 368 /* Harmony typed arrays */ \
366 F(ArrayBufferInitialize, 2, 1)\ 369 F(ArrayBufferInitialize, 2, 1)\
367 F(ArrayBufferGetByteLength, 1, 1)\ 370 F(ArrayBufferGetByteLength, 1, 1)\
368 F(ArrayBufferSliceImpl, 3, 1) \ 371 F(ArrayBufferSliceImpl, 3, 1) \
369 F(ArrayBufferIsView, 1, 1) \ 372 F(ArrayBufferIsView, 1, 1) \
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 //--------------------------------------------------------------------------- 847 //---------------------------------------------------------------------------
845 // Constants used by interface to runtime functions. 848 // Constants used by interface to runtime functions.
846 849
847 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 850 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
848 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 851 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
849 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 852 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
850 853
851 } } // namespace v8::internal 854 } } // namespace v8::internal
852 855
853 #endif // V8_RUNTIME_H_ 856 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698