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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 F(NewMessageObject, 2, 1) \ | 358 F(NewMessageObject, 2, 1) \ |
359 F(MessageGetType, 1, 1) \ | 359 F(MessageGetType, 1, 1) \ |
360 F(MessageGetArguments, 1, 1) \ | 360 F(MessageGetArguments, 1, 1) \ |
361 F(MessageGetStartPosition, 1, 1) \ | 361 F(MessageGetStartPosition, 1, 1) \ |
362 F(MessageGetScript, 1, 1) \ | 362 F(MessageGetScript, 1, 1) \ |
363 \ | 363 \ |
364 /* Pseudo functions - handled as macros by parser */ \ | 364 /* Pseudo functions - handled as macros by parser */ \ |
365 F(IS_VAR, 1, 1) \ | 365 F(IS_VAR, 1, 1) \ |
366 \ | 366 \ |
367 /* expose boolean functions from objects-inl.h */ \ | 367 /* expose boolean functions from objects-inl.h */ \ |
368 F(HasFastSmiOnlyElements, 1, 1) \ | 368 F(HasFastSmiElements, 1, 1) \ |
369 F(HasFastElements, 1, 1) \ | 369 F(HasFastSmiOrObjectElements, 1, 1) \ |
| 370 F(HasFastObjectElements, 1, 1) \ |
370 F(HasFastDoubleElements, 1, 1) \ | 371 F(HasFastDoubleElements, 1, 1) \ |
| 372 F(HasFastHoleyElements, 1, 1) \ |
371 F(HasDictionaryElements, 1, 1) \ | 373 F(HasDictionaryElements, 1, 1) \ |
372 F(HasExternalPixelElements, 1, 1) \ | 374 F(HasExternalPixelElements, 1, 1) \ |
373 F(HasExternalArrayElements, 1, 1) \ | 375 F(HasExternalArrayElements, 1, 1) \ |
374 F(HasExternalByteElements, 1, 1) \ | 376 F(HasExternalByteElements, 1, 1) \ |
375 F(HasExternalUnsignedByteElements, 1, 1) \ | 377 F(HasExternalUnsignedByteElements, 1, 1) \ |
376 F(HasExternalShortElements, 1, 1) \ | 378 F(HasExternalShortElements, 1, 1) \ |
377 F(HasExternalUnsignedShortElements, 1, 1) \ | 379 F(HasExternalUnsignedShortElements, 1, 1) \ |
378 F(HasExternalIntElements, 1, 1) \ | 380 F(HasExternalIntElements, 1, 1) \ |
379 F(HasExternalUnsignedIntElements, 1, 1) \ | 381 F(HasExternalUnsignedIntElements, 1, 1) \ |
380 F(HasExternalFloatElements, 1, 1) \ | 382 F(HasExternalFloatElements, 1, 1) \ |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 //--------------------------------------------------------------------------- | 706 //--------------------------------------------------------------------------- |
705 // Constants used by interface to runtime functions. | 707 // Constants used by interface to runtime functions. |
706 | 708 |
707 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 709 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
708 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 710 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
709 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 711 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
710 | 712 |
711 } } // namespace v8::internal | 713 } } // namespace v8::internal |
712 | 714 |
713 #endif // V8_RUNTIME_H_ | 715 #endif // V8_RUNTIME_H_ |
OLD | NEW |