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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 F(HasExternalShortElements, 1, 1) \ | 460 F(HasExternalShortElements, 1, 1) \ |
461 F(HasExternalUnsignedShortElements, 1, 1) \ | 461 F(HasExternalUnsignedShortElements, 1, 1) \ |
462 F(HasExternalIntElements, 1, 1) \ | 462 F(HasExternalIntElements, 1, 1) \ |
463 F(HasExternalUnsignedIntElements, 1, 1) \ | 463 F(HasExternalUnsignedIntElements, 1, 1) \ |
464 F(HasExternalFloatElements, 1, 1) \ | 464 F(HasExternalFloatElements, 1, 1) \ |
465 F(HasExternalDoubleElements, 1, 1) \ | 465 F(HasExternalDoubleElements, 1, 1) \ |
466 F(HasFastProperties, 1, 1) \ | 466 F(HasFastProperties, 1, 1) \ |
467 F(TransitionElementsKind, 2, 1) \ | 467 F(TransitionElementsKind, 2, 1) \ |
468 F(TransitionElementsSmiToDouble, 1, 1) \ | 468 F(TransitionElementsSmiToDouble, 1, 1) \ |
469 F(TransitionElementsDoubleToObject, 1, 1) \ | 469 F(TransitionElementsDoubleToObject, 1, 1) \ |
470 F(HaveSameMap, 2, 1) \ | 470 F(HaveSameMap, 2, 1) |
471 /* profiler */ \ | |
472 F(ProfilerResume, 0, 1) \ | |
473 F(ProfilerPause, 0, 1) | |
474 | 471 |
475 | 472 |
476 #ifdef ENABLE_DEBUGGER_SUPPORT | 473 #ifdef ENABLE_DEBUGGER_SUPPORT |
477 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ | 474 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ |
478 /* Debugger support*/ \ | 475 /* Debugger support*/ \ |
479 F(DebugBreak, 0, 1) \ | 476 F(DebugBreak, 0, 1) \ |
480 F(SetDebugEventListener, 2, 1) \ | 477 F(SetDebugEventListener, 2, 1) \ |
481 F(Break, 0, 1) \ | 478 F(Break, 0, 1) \ |
482 F(DebugGetPropertyDetails, 2, 1) \ | 479 F(DebugGetPropertyDetails, 2, 1) \ |
483 F(DebugGetProperty, 2, 1) \ | 480 F(DebugGetProperty, 2, 1) \ |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 //--------------------------------------------------------------------------- | 808 //--------------------------------------------------------------------------- |
812 // Constants used by interface to runtime functions. | 809 // Constants used by interface to runtime functions. |
813 | 810 |
814 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 811 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
815 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 812 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
816 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 813 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
817 | 814 |
818 } } // namespace v8::internal | 815 } } // namespace v8::internal |
819 | 816 |
820 #endif // V8_RUNTIME_H_ | 817 #endif // V8_RUNTIME_H_ |
OLD | NEW |