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

Side by Side Diff: src/runtime.h

Issue 21924007: Make new Harmony constructors subclassing-friendly (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 F(CreateJSFunctionProxy, 4, 1) \ 320 F(CreateJSFunctionProxy, 4, 1) \
321 F(IsJSProxy, 1, 1) \ 321 F(IsJSProxy, 1, 1) \
322 F(IsJSFunctionProxy, 1, 1) \ 322 F(IsJSFunctionProxy, 1, 1) \
323 F(GetHandler, 1, 1) \ 323 F(GetHandler, 1, 1) \
324 F(GetCallTrap, 1, 1) \ 324 F(GetCallTrap, 1, 1) \
325 F(GetConstructTrap, 1, 1) \ 325 F(GetConstructTrap, 1, 1) \
326 F(Fix, 1, 1) \ 326 F(Fix, 1, 1) \
327 \ 327 \
328 /* Harmony sets */ \ 328 /* Harmony sets */ \
329 F(SetInitialize, 1, 1) \ 329 F(SetInitialize, 1, 1) \
330 F(SetClear, 1, 1) \
330 F(SetAdd, 2, 1) \ 331 F(SetAdd, 2, 1) \
331 F(SetHas, 2, 1) \ 332 F(SetHas, 2, 1) \
332 F(SetDelete, 2, 1) \ 333 F(SetDelete, 2, 1) \
333 F(SetGetSize, 1, 1) \ 334 F(SetGetSize, 1, 1) \
334 \ 335 \
335 /* Harmony maps */ \ 336 /* Harmony maps */ \
336 F(MapInitialize, 1, 1) \ 337 F(MapInitialize, 1, 1) \
338 F(MapClear, 1, 1) \
337 F(MapGet, 2, 1) \ 339 F(MapGet, 2, 1) \
338 F(MapHas, 2, 1) \ 340 F(MapHas, 2, 1) \
339 F(MapDelete, 2, 1) \ 341 F(MapDelete, 2, 1) \
340 F(MapSet, 3, 1) \ 342 F(MapSet, 3, 1) \
341 F(MapGetSize, 1, 1) \ 343 F(MapGetSize, 1, 1) \
342 \ 344 \
343 /* Harmony weak maps and sets */ \ 345 /* Harmony weak maps and sets */ \
344 F(WeakCollectionInitialize, 1, 1) \ 346 F(WeakMapInitialize, 1, 1) \
347 F(WeakSetInitialize, 1, 1) \
348 F(WeakCollectionClear, 1, 1) \
345 F(WeakCollectionGet, 2, 1) \ 349 F(WeakCollectionGet, 2, 1) \
346 F(WeakCollectionHas, 2, 1) \ 350 F(WeakCollectionHas, 2, 1) \
347 F(WeakCollectionDelete, 2, 1) \ 351 F(WeakCollectionDelete, 2, 1) \
348 F(WeakCollectionSet, 3, 1) \ 352 F(WeakCollectionSet, 3, 1) \
349 \ 353 \
350 /* Harmony observe */ \ 354 /* Harmony observe */ \
351 F(IsObserved, 1, 1) \ 355 F(IsObserved, 1, 1) \
352 F(SetIsObserved, 1, 1) \ 356 F(SetIsObserved, 1, 1) \
353 F(SetObserverDeliveryPending, 0, 1) \ 357 F(SetObserverDeliveryPending, 0, 1) \
354 F(GetObservationState, 0, 1) \ 358 F(GetObservationState, 0, 1) \
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 //--------------------------------------------------------------------------- 826 //---------------------------------------------------------------------------
823 // Constants used by interface to runtime functions. 827 // Constants used by interface to runtime functions.
824 828
825 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 829 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
826 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 830 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
827 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 831 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
828 832
829 } } // namespace v8::internal 833 } } // namespace v8::internal
830 834
831 #endif // V8_RUNTIME_H_ 835 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698