OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 F(NewMessageObject, 2, 1) \ | 342 F(NewMessageObject, 2, 1) \ |
343 F(MessageGetType, 1, 1) \ | 343 F(MessageGetType, 1, 1) \ |
344 F(MessageGetArguments, 1, 1) \ | 344 F(MessageGetArguments, 1, 1) \ |
345 F(MessageGetStartPosition, 1, 1) \ | 345 F(MessageGetStartPosition, 1, 1) \ |
346 F(MessageGetScript, 1, 1) \ | 346 F(MessageGetScript, 1, 1) \ |
347 \ | 347 \ |
348 /* Pseudo functions - handled as macros by parser */ \ | 348 /* Pseudo functions - handled as macros by parser */ \ |
349 F(IS_VAR, 1, 1) \ | 349 F(IS_VAR, 1, 1) \ |
350 \ | 350 \ |
351 /* expose boolean functions from objects-inl.h */ \ | 351 /* expose boolean functions from objects-inl.h */ \ |
| 352 F(HasFastSmiOnlyElements, 1, 1) \ |
352 F(HasFastElements, 1, 1) \ | 353 F(HasFastElements, 1, 1) \ |
353 F(HasFastDoubleElements, 1, 1) \ | 354 F(HasFastDoubleElements, 1, 1) \ |
354 F(HasDictionaryElements, 1, 1) \ | 355 F(HasDictionaryElements, 1, 1) \ |
355 F(HasExternalPixelElements, 1, 1) \ | 356 F(HasExternalPixelElements, 1, 1) \ |
356 F(HasExternalArrayElements, 1, 1) \ | 357 F(HasExternalArrayElements, 1, 1) \ |
357 F(HasExternalByteElements, 1, 1) \ | 358 F(HasExternalByteElements, 1, 1) \ |
358 F(HasExternalUnsignedByteElements, 1, 1) \ | 359 F(HasExternalUnsignedByteElements, 1, 1) \ |
359 F(HasExternalShortElements, 1, 1) \ | 360 F(HasExternalShortElements, 1, 1) \ |
360 F(HasExternalUnsignedShortElements, 1, 1) \ | 361 F(HasExternalUnsignedShortElements, 1, 1) \ |
361 F(HasExternalIntElements, 1, 1) \ | 362 F(HasExternalIntElements, 1, 1) \ |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 | 671 |
671 enum kDeclareGlobalsFlags { | 672 enum kDeclareGlobalsFlags { |
672 kDeclareGlobalsEvalFlag = 1 << 0, | 673 kDeclareGlobalsEvalFlag = 1 << 0, |
673 kDeclareGlobalsStrictModeFlag = 1 << 1, | 674 kDeclareGlobalsStrictModeFlag = 1 << 1, |
674 kDeclareGlobalsNativeFlag = 1 << 2 | 675 kDeclareGlobalsNativeFlag = 1 << 2 |
675 }; | 676 }; |
676 | 677 |
677 } } // namespace v8::internal | 678 } } // namespace v8::internal |
678 | 679 |
679 #endif // V8_RUNTIME_H_ | 680 #endif // V8_RUNTIME_H_ |
OLD | NEW |