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