OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 F(LiveEditFunctionSetScript, 2, 1) \ | 369 F(LiveEditFunctionSetScript, 2, 1) \ |
370 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 370 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
371 F(LiveEditPatchFunctionPositions, 2, 1) \ | 371 F(LiveEditPatchFunctionPositions, 2, 1) \ |
372 F(LiveEditCheckAndDropActivations, 2, 1) \ | 372 F(LiveEditCheckAndDropActivations, 2, 1) \ |
373 F(LiveEditCompareStrings, 2, 1) \ | 373 F(LiveEditCompareStrings, 2, 1) \ |
374 F(GetFunctionCodePositionFromSource, 2, 1) \ | 374 F(GetFunctionCodePositionFromSource, 2, 1) \ |
375 F(ExecuteInDebugContext, 2, 1) \ | 375 F(ExecuteInDebugContext, 2, 1) \ |
376 \ | 376 \ |
377 F(SetFlags, 1, 1) \ | 377 F(SetFlags, 1, 1) \ |
378 F(CollectGarbage, 1, 1) \ | 378 F(CollectGarbage, 1, 1) \ |
379 F(GetHeapUsage, 0, 1) | 379 F(GetHeapUsage, 0, 1) \ |
| 380 \ |
| 381 /* LiveObjectList support*/ \ |
| 382 F(HasLOLEnabled, 0, 1) \ |
| 383 F(CaptureLOL, 0, 1) \ |
| 384 F(DeleteLOL, 1, 1) \ |
| 385 F(DumpLOL, 5, 1) \ |
| 386 F(GetLOLObj, 1, 1) \ |
| 387 F(GetLOLObjId, 1, 1) \ |
| 388 F(GetLOLObjRetainers, 6, 1) \ |
| 389 F(GetLOLPath, 3, 1) \ |
| 390 F(InfoLOL, 2, 1) \ |
| 391 F(PrintLOLObj, 1, 1) \ |
| 392 F(ResetLOL, 0, 1) \ |
| 393 F(SummarizeLOL, 3, 1) |
380 | 394 |
381 #else | 395 #else |
382 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 396 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
383 #endif | 397 #endif |
384 | 398 |
385 #ifdef ENABLE_LOGGING_AND_PROFILING | 399 #ifdef ENABLE_LOGGING_AND_PROFILING |
386 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ | 400 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ |
387 F(ProfilerResume, 2, 1) \ | 401 F(ProfilerResume, 2, 1) \ |
388 F(ProfilerPause, 2, 1) | 402 F(ProfilerPause, 2, 1) |
389 #else | 403 #else |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 int position); | 572 int position); |
559 | 573 |
560 // Helper functions used stubs. | 574 // Helper functions used stubs. |
561 static void PerformGC(Object* result); | 575 static void PerformGC(Object* result); |
562 }; | 576 }; |
563 | 577 |
564 | 578 |
565 } } // namespace v8::internal | 579 } } // namespace v8::internal |
566 | 580 |
567 #endif // V8_RUNTIME_H_ | 581 #endif // V8_RUNTIME_H_ |
OLD | NEW |