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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 F(CreateObjectLiteralShallow, 4, 1) \ | 296 F(CreateObjectLiteralShallow, 4, 1) \ |
297 F(CreateArrayLiteral, 3, 1) \ | 297 F(CreateArrayLiteral, 3, 1) \ |
298 F(CreateArrayLiteralShallow, 3, 1) \ | 298 F(CreateArrayLiteralShallow, 3, 1) \ |
299 \ | 299 \ |
300 /* Harmony generators */ \ | 300 /* Harmony generators */ \ |
301 F(CreateJSGeneratorObject, 0, 1) \ | 301 F(CreateJSGeneratorObject, 0, 1) \ |
302 F(SuspendJSGeneratorObject, 1, 1) \ | 302 F(SuspendJSGeneratorObject, 1, 1) \ |
303 F(ResumeJSGeneratorObject, 3, 1) \ | 303 F(ResumeJSGeneratorObject, 3, 1) \ |
304 F(ThrowGeneratorStateError, 1, 1) \ | 304 F(ThrowGeneratorStateError, 1, 1) \ |
305 \ | 305 \ |
306 /* ES5 */ \ | |
307 F(ObjectFreeze, 1, 1) \ | |
308 \ | |
309 /* Harmony modules */ \ | 306 /* Harmony modules */ \ |
310 F(IsJSModule, 1, 1) \ | 307 F(IsJSModule, 1, 1) \ |
311 \ | 308 \ |
312 /* Harmony symbols */ \ | 309 /* Harmony symbols */ \ |
313 F(CreateSymbol, 1, 1) \ | 310 F(CreateSymbol, 1, 1) \ |
314 F(SymbolName, 1, 1) \ | 311 F(SymbolName, 1, 1) \ |
315 \ | 312 \ |
316 /* Harmony proxies */ \ | 313 /* Harmony proxies */ \ |
317 F(CreateJSProxy, 2, 1) \ | 314 F(CreateJSProxy, 2, 1) \ |
318 F(CreateJSFunctionProxy, 4, 1) \ | 315 F(CreateJSFunctionProxy, 4, 1) \ |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 /* Pseudo functions - handled as macros by parser */ \ | 416 /* Pseudo functions - handled as macros by parser */ \ |
420 F(IS_VAR, 1, 1) \ | 417 F(IS_VAR, 1, 1) \ |
421 \ | 418 \ |
422 /* expose boolean functions from objects-inl.h */ \ | 419 /* expose boolean functions from objects-inl.h */ \ |
423 F(HasFastSmiElements, 1, 1) \ | 420 F(HasFastSmiElements, 1, 1) \ |
424 F(HasFastSmiOrObjectElements, 1, 1) \ | 421 F(HasFastSmiOrObjectElements, 1, 1) \ |
425 F(HasFastObjectElements, 1, 1) \ | 422 F(HasFastObjectElements, 1, 1) \ |
426 F(HasFastDoubleElements, 1, 1) \ | 423 F(HasFastDoubleElements, 1, 1) \ |
427 F(HasFastHoleyElements, 1, 1) \ | 424 F(HasFastHoleyElements, 1, 1) \ |
428 F(HasDictionaryElements, 1, 1) \ | 425 F(HasDictionaryElements, 1, 1) \ |
429 F(HasNonStrictArgumentsElements, 1, 1) \ | |
430 F(HasExternalPixelElements, 1, 1) \ | 426 F(HasExternalPixelElements, 1, 1) \ |
431 F(HasExternalArrayElements, 1, 1) \ | 427 F(HasExternalArrayElements, 1, 1) \ |
432 F(HasExternalByteElements, 1, 1) \ | 428 F(HasExternalByteElements, 1, 1) \ |
433 F(HasExternalUnsignedByteElements, 1, 1) \ | 429 F(HasExternalUnsignedByteElements, 1, 1) \ |
434 F(HasExternalShortElements, 1, 1) \ | 430 F(HasExternalShortElements, 1, 1) \ |
435 F(HasExternalUnsignedShortElements, 1, 1) \ | 431 F(HasExternalUnsignedShortElements, 1, 1) \ |
436 F(HasExternalIntElements, 1, 1) \ | 432 F(HasExternalIntElements, 1, 1) \ |
437 F(HasExternalUnsignedIntElements, 1, 1) \ | 433 F(HasExternalUnsignedIntElements, 1, 1) \ |
438 F(HasExternalFloatElements, 1, 1) \ | 434 F(HasExternalFloatElements, 1, 1) \ |
439 F(HasExternalDoubleElements, 1, 1) \ | 435 F(HasExternalDoubleElements, 1, 1) \ |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 //--------------------------------------------------------------------------- | 774 //--------------------------------------------------------------------------- |
779 // Constants used by interface to runtime functions. | 775 // Constants used by interface to runtime functions. |
780 | 776 |
781 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 777 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
782 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 778 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
783 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 779 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
784 | 780 |
785 } } // namespace v8::internal | 781 } } // namespace v8::internal |
786 | 782 |
787 #endif // V8_RUNTIME_H_ | 783 #endif // V8_RUNTIME_H_ |
OLD | NEW |