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