OLD | NEW |
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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 F(WeakCollectionDelete, 2, 1) \ | 351 F(WeakCollectionDelete, 2, 1) \ |
352 F(WeakCollectionSet, 3, 1) \ | 352 F(WeakCollectionSet, 3, 1) \ |
353 \ | 353 \ |
354 /* Harmony observe */ \ | 354 /* Harmony observe */ \ |
355 F(IsObserved, 1, 1) \ | 355 F(IsObserved, 1, 1) \ |
356 F(SetIsObserved, 1, 1) \ | 356 F(SetIsObserved, 1, 1) \ |
357 F(SetObserverDeliveryPending, 0, 1) \ | 357 F(SetObserverDeliveryPending, 0, 1) \ |
358 F(GetObservationState, 0, 1) \ | 358 F(GetObservationState, 0, 1) \ |
359 F(ObservationWeakMapCreate, 0, 1) \ | 359 F(ObservationWeakMapCreate, 0, 1) \ |
360 F(UnwrapGlobalProxy, 1, 1) \ | 360 F(UnwrapGlobalProxy, 1, 1) \ |
| 361 F(IsAccessAllowedForObserver, 3, 1) \ |
361 \ | 362 \ |
362 /* Harmony typed arrays */ \ | 363 /* Harmony typed arrays */ \ |
363 F(ArrayBufferInitialize, 2, 1)\ | 364 F(ArrayBufferInitialize, 2, 1)\ |
364 F(ArrayBufferGetByteLength, 1, 1)\ | 365 F(ArrayBufferGetByteLength, 1, 1)\ |
365 F(ArrayBufferSliceImpl, 3, 1) \ | 366 F(ArrayBufferSliceImpl, 3, 1) \ |
366 \ | 367 \ |
367 F(TypedArrayInitialize, 5, 1) \ | 368 F(TypedArrayInitialize, 5, 1) \ |
368 F(TypedArrayInitializeFromArrayLike, 4, 1) \ | 369 F(TypedArrayInitializeFromArrayLike, 4, 1) \ |
369 F(TypedArrayGetBuffer, 1, 1) \ | 370 F(TypedArrayGetBuffer, 1, 1) \ |
370 F(TypedArrayGetByteLength, 1, 1) \ | 371 F(TypedArrayGetByteLength, 1, 1) \ |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 F(HasExternalByteElements, 1, 1) \ | 463 F(HasExternalByteElements, 1, 1) \ |
463 F(HasExternalUnsignedByteElements, 1, 1) \ | 464 F(HasExternalUnsignedByteElements, 1, 1) \ |
464 F(HasExternalShortElements, 1, 1) \ | 465 F(HasExternalShortElements, 1, 1) \ |
465 F(HasExternalUnsignedShortElements, 1, 1) \ | 466 F(HasExternalUnsignedShortElements, 1, 1) \ |
466 F(HasExternalIntElements, 1, 1) \ | 467 F(HasExternalIntElements, 1, 1) \ |
467 F(HasExternalUnsignedIntElements, 1, 1) \ | 468 F(HasExternalUnsignedIntElements, 1, 1) \ |
468 F(HasExternalFloatElements, 1, 1) \ | 469 F(HasExternalFloatElements, 1, 1) \ |
469 F(HasExternalDoubleElements, 1, 1) \ | 470 F(HasExternalDoubleElements, 1, 1) \ |
470 F(HasFastProperties, 1, 1) \ | 471 F(HasFastProperties, 1, 1) \ |
471 F(TransitionElementsKind, 2, 1) \ | 472 F(TransitionElementsKind, 2, 1) \ |
472 F(HaveSameMap, 2, 1) | 473 F(HaveSameMap, 2, 1) \ |
| 474 F(IsAccessCheckNeeded, 1, 1) |
473 | 475 |
474 | 476 |
475 #ifdef ENABLE_DEBUGGER_SUPPORT | 477 #ifdef ENABLE_DEBUGGER_SUPPORT |
476 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ | 478 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ |
477 /* Debugger support*/ \ | 479 /* Debugger support*/ \ |
478 F(DebugBreak, 0, 1) \ | 480 F(DebugBreak, 0, 1) \ |
479 F(SetDebugEventListener, 2, 1) \ | 481 F(SetDebugEventListener, 2, 1) \ |
480 F(Break, 0, 1) \ | 482 F(Break, 0, 1) \ |
481 F(DebugGetPropertyDetails, 2, 1) \ | 483 F(DebugGetPropertyDetails, 2, 1) \ |
482 F(DebugGetProperty, 2, 1) \ | 484 F(DebugGetProperty, 2, 1) \ |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 //--------------------------------------------------------------------------- | 851 //--------------------------------------------------------------------------- |
850 // Constants used by interface to runtime functions. | 852 // Constants used by interface to runtime functions. |
851 | 853 |
852 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 854 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
853 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 855 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
854 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 856 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
855 | 857 |
856 } } // namespace v8::internal | 858 } } // namespace v8::internal |
857 | 859 |
858 #endif // V8_RUNTIME_H_ | 860 #endif // V8_RUNTIME_H_ |
OLD | NEW |