| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 F(GetPropertyNamesFast, 1, 1) \ | 57 F(GetPropertyNamesFast, 1, 1) \ |
| 58 F(GetLocalPropertyNames, 2, 1) \ | 58 F(GetLocalPropertyNames, 2, 1) \ |
| 59 F(GetLocalElementNames, 1, 1) \ | 59 F(GetLocalElementNames, 1, 1) \ |
| 60 F(GetInterceptorInfo, 1, 1) \ | 60 F(GetInterceptorInfo, 1, 1) \ |
| 61 F(GetNamedInterceptorPropertyNames, 1, 1) \ | 61 F(GetNamedInterceptorPropertyNames, 1, 1) \ |
| 62 F(GetIndexedInterceptorElementNames, 1, 1) \ | 62 F(GetIndexedInterceptorElementNames, 1, 1) \ |
| 63 F(GetArgumentsProperty, 1, 1) \ | 63 F(GetArgumentsProperty, 1, 1) \ |
| 64 F(ToFastProperties, 1, 1) \ | 64 F(ToFastProperties, 1, 1) \ |
| 65 F(FinishArrayPrototypeSetup, 1, 1) \ | 65 F(FinishArrayPrototypeSetup, 1, 1) \ |
| 66 F(SpecialArrayFunctions, 1, 1) \ | 66 F(SpecialArrayFunctions, 1, 1) \ |
| 67 F(IsCallable, 1, 1) \ |
| 67 F(IsClassicModeFunction, 1, 1) \ | 68 F(IsClassicModeFunction, 1, 1) \ |
| 68 F(GetDefaultReceiver, 1, 1) \ | 69 F(GetDefaultReceiver, 1, 1) \ |
| 69 \ | 70 \ |
| 70 F(GetPrototype, 1, 1) \ | 71 F(GetPrototype, 1, 1) \ |
| 71 F(SetPrototype, 2, 1) \ | 72 F(SetPrototype, 2, 1) \ |
| 72 F(IsInPrototypeChain, 2, 1) \ | 73 F(IsInPrototypeChain, 2, 1) \ |
| 73 \ | 74 \ |
| 74 F(GetOwnProperty, 2, 1) \ | 75 F(GetOwnProperty, 2, 1) \ |
| 75 \ | 76 \ |
| 76 F(IsExtensible, 1, 1) \ | 77 F(IsExtensible, 1, 1) \ |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 F(MapSet, 3, 1) \ | 347 F(MapSet, 3, 1) \ |
| 347 F(MapGetSize, 1, 1) \ | 348 F(MapGetSize, 1, 1) \ |
| 348 \ | 349 \ |
| 349 /* Harmony weak maps and sets */ \ | 350 /* Harmony weak maps and sets */ \ |
| 350 F(WeakCollectionInitialize, 1, 1) \ | 351 F(WeakCollectionInitialize, 1, 1) \ |
| 351 F(WeakCollectionGet, 2, 1) \ | 352 F(WeakCollectionGet, 2, 1) \ |
| 352 F(WeakCollectionHas, 2, 1) \ | 353 F(WeakCollectionHas, 2, 1) \ |
| 353 F(WeakCollectionDelete, 2, 1) \ | 354 F(WeakCollectionDelete, 2, 1) \ |
| 354 F(WeakCollectionSet, 3, 1) \ | 355 F(WeakCollectionSet, 3, 1) \ |
| 355 \ | 356 \ |
| 357 /* Harmony events */ \ |
| 358 F(SetMicrotasksPending, 1, 1) \ |
| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 F(InitializeConstGlobal, 2, 1) \ | 435 F(InitializeConstGlobal, 2, 1) \ |
| 433 F(InitializeConstContextSlot, 3, 1) \ | 436 F(InitializeConstContextSlot, 3, 1) \ |
| 434 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 437 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
| 435 \ | 438 \ |
| 436 /* Debugging */ \ | 439 /* Debugging */ \ |
| 437 F(DebugPrint, 1, 1) \ | 440 F(DebugPrint, 1, 1) \ |
| 438 F(DebugTrace, 0, 1) \ | 441 F(DebugTrace, 0, 1) \ |
| 439 F(TraceEnter, 0, 1) \ | 442 F(TraceEnter, 0, 1) \ |
| 440 F(TraceExit, 1, 1) \ | 443 F(TraceExit, 1, 1) \ |
| 441 F(Abort, 2, 1) \ | 444 F(Abort, 2, 1) \ |
| 445 F(AbortJS, 1, 1) \ |
| 442 /* Logging */ \ | 446 /* Logging */ \ |
| 443 F(Log, 2, 1) \ | 447 F(Log, 2, 1) \ |
| 444 /* ES5 */ \ | 448 /* ES5 */ \ |
| 445 F(LocalKeys, 1, 1) \ | 449 F(LocalKeys, 1, 1) \ |
| 446 /* Cache suport */ \ | 450 /* Cache suport */ \ |
| 447 F(GetFromCache, 2, 1) \ | 451 F(GetFromCache, 2, 1) \ |
| 448 \ | 452 \ |
| 449 /* Message objects */ \ | 453 /* Message objects */ \ |
| 450 F(MessageGetStartPosition, 1, 1) \ | 454 F(MessageGetStartPosition, 1, 1) \ |
| 451 F(MessageGetScript, 1, 1) \ | 455 F(MessageGetScript, 1, 1) \ |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 844 //--------------------------------------------------------------------------- | 848 //--------------------------------------------------------------------------- |
| 845 // Constants used by interface to runtime functions. | 849 // Constants used by interface to runtime functions. |
| 846 | 850 |
| 847 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 851 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 848 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 852 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 849 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 853 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 850 | 854 |
| 851 } } // namespace v8::internal | 855 } } // namespace v8::internal |
| 852 | 856 |
| 853 #endif // V8_RUNTIME_H_ | 857 #endif // V8_RUNTIME_H_ |
| OLD | NEW |