| 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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 F(LiveEditPatchFunctionPositions, 2, 1) \ | 471 F(LiveEditPatchFunctionPositions, 2, 1) \ |
| 472 F(LiveEditCheckAndDropActivations, 2, 1) \ | 472 F(LiveEditCheckAndDropActivations, 2, 1) \ |
| 473 F(LiveEditCompareStrings, 2, 1) \ | 473 F(LiveEditCompareStrings, 2, 1) \ |
| 474 F(LiveEditRestartFrame, 2, 1) \ | 474 F(LiveEditRestartFrame, 2, 1) \ |
| 475 F(GetFunctionCodePositionFromSource, 2, 1) \ | 475 F(GetFunctionCodePositionFromSource, 2, 1) \ |
| 476 F(ExecuteInDebugContext, 2, 1) \ | 476 F(ExecuteInDebugContext, 2, 1) \ |
| 477 \ | 477 \ |
| 478 F(SetFlags, 1, 1) \ | 478 F(SetFlags, 1, 1) \ |
| 479 F(CollectGarbage, 1, 1) \ | 479 F(CollectGarbage, 1, 1) \ |
| 480 F(GetHeapUsage, 0, 1) \ | 480 F(GetHeapUsage, 0, 1) \ |
| 481 \ | |
| 482 /* LiveObjectList support*/ \ | |
| 483 F(HasLOLEnabled, 0, 1) \ | |
| 484 F(CaptureLOL, 0, 1) \ | |
| 485 F(DeleteLOL, 1, 1) \ | |
| 486 F(DumpLOL, 5, 1) \ | |
| 487 F(GetLOLObj, 1, 1) \ | |
| 488 F(GetLOLObjId, 1, 1) \ | |
| 489 F(GetLOLObjRetainers, 6, 1) \ | |
| 490 F(GetLOLPath, 3, 1) \ | |
| 491 F(InfoLOL, 2, 1) \ | |
| 492 F(PrintLOLObj, 1, 1) \ | |
| 493 F(ResetLOL, 0, 1) \ | |
| 494 F(SummarizeLOL, 3, 1) | |
| 495 | 481 |
| 496 #else | 482 #else |
| 497 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 483 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
| 498 #endif | 484 #endif |
| 499 | 485 |
| 500 #ifdef DEBUG | 486 #ifdef DEBUG |
| 501 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ | 487 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ |
| 502 /* Testing */ \ | 488 /* Testing */ \ |
| 503 F(ListNatives, 0, 1) | 489 F(ListNatives, 0, 1) |
| 504 #else | 490 #else |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 //--------------------------------------------------------------------------- | 711 //--------------------------------------------------------------------------- |
| 726 // Constants used by interface to runtime functions. | 712 // Constants used by interface to runtime functions. |
| 727 | 713 |
| 728 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 714 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 729 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 715 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 730 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 716 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 731 | 717 |
| 732 } } // namespace v8::internal | 718 } } // namespace v8::internal |
| 733 | 719 |
| 734 #endif // V8_RUNTIME_H_ | 720 #endif // V8_RUNTIME_H_ |
| OLD | NEW |