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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 F(GetFromCache, 2, 1) \ | 327 F(GetFromCache, 2, 1) \ |
328 \ | 328 \ |
329 /* Message objects */ \ | 329 /* Message objects */ \ |
330 F(NewMessageObject, 2, 1) \ | 330 F(NewMessageObject, 2, 1) \ |
331 F(MessageGetType, 1, 1) \ | 331 F(MessageGetType, 1, 1) \ |
332 F(MessageGetArguments, 1, 1) \ | 332 F(MessageGetArguments, 1, 1) \ |
333 F(MessageGetStartPosition, 1, 1) \ | 333 F(MessageGetStartPosition, 1, 1) \ |
334 F(MessageGetScript, 1, 1) \ | 334 F(MessageGetScript, 1, 1) \ |
335 \ | 335 \ |
336 /* Pseudo functions - handled as macros by parser */ \ | 336 /* Pseudo functions - handled as macros by parser */ \ |
337 F(IS_VAR, 1, 1) | 337 F(IS_VAR, 1, 1) \ |
| 338 \ |
| 339 /* expose boolean functions from objects-inl.h */ \ |
| 340 F(HasFastElements, 1, 1) \ |
| 341 F(HasFastDoubleElements, 1, 1) \ |
| 342 F(HasDictionaryElements, 1, 1) \ |
| 343 F(HasExternalPixelElements, 1, 1) \ |
| 344 F(HasExternalArrayElements, 1, 1) \ |
| 345 F(HasExternalByteElements, 1, 1) \ |
| 346 F(HasExternalUnsignedByteElements, 1, 1) \ |
| 347 F(HasExternalShortElements, 1, 1) \ |
| 348 F(HasExternalUnsignedShortElements, 1, 1) \ |
| 349 F(HasExternalIntElements, 1, 1) \ |
| 350 F(HasExternalUnsignedIntElements, 1, 1) \ |
| 351 F(HasExternalFloatElements, 1, 1) \ |
| 352 F(HasExternalDoubleElements, 1, 1) |
| 353 |
338 | 354 |
339 #ifdef ENABLE_DEBUGGER_SUPPORT | 355 #ifdef ENABLE_DEBUGGER_SUPPORT |
340 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ | 356 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ |
341 /* Debugger support*/ \ | 357 /* Debugger support*/ \ |
342 F(DebugBreak, 0, 1) \ | 358 F(DebugBreak, 0, 1) \ |
343 F(SetDebugEventListener, 2, 1) \ | 359 F(SetDebugEventListener, 2, 1) \ |
344 F(Break, 0, 1) \ | 360 F(Break, 0, 1) \ |
345 F(DebugGetPropertyDetails, 2, 1) \ | 361 F(DebugGetPropertyDetails, 2, 1) \ |
346 F(DebugGetProperty, 2, 1) \ | 362 F(DebugGetProperty, 2, 1) \ |
347 F(DebugPropertyTypeFromDetails, 1, 1) \ | 363 F(DebugPropertyTypeFromDetails, 1, 1) \ |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 Handle<Script> script, | 655 Handle<Script> script, |
640 int position); | 656 int position); |
641 | 657 |
642 // Helper functions used stubs. | 658 // Helper functions used stubs. |
643 static void PerformGC(Object* result); | 659 static void PerformGC(Object* result); |
644 }; | 660 }; |
645 | 661 |
646 } } // namespace v8::internal | 662 } } // namespace v8::internal |
647 | 663 |
648 #endif // V8_RUNTIME_H_ | 664 #endif // V8_RUNTIME_H_ |
OLD | NEW |