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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 F(LiveEditFunctionSetScript, 2, 1) \ | 361 F(LiveEditFunctionSetScript, 2, 1) \ |
362 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 362 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
363 F(LiveEditPatchFunctionPositions, 2, 1) \ | 363 F(LiveEditPatchFunctionPositions, 2, 1) \ |
364 F(LiveEditCheckAndDropActivations, 2, 1) \ | 364 F(LiveEditCheckAndDropActivations, 2, 1) \ |
365 F(LiveEditCompareStrings, 2, 1) \ | 365 F(LiveEditCompareStrings, 2, 1) \ |
366 F(GetFunctionCodePositionFromSource, 2, 1) \ | 366 F(GetFunctionCodePositionFromSource, 2, 1) \ |
367 F(ExecuteInDebugContext, 2, 1) \ | 367 F(ExecuteInDebugContext, 2, 1) \ |
368 \ | 368 \ |
369 F(SetFlags, 1, 1) \ | 369 F(SetFlags, 1, 1) \ |
370 F(CollectGarbage, 1, 1) \ | 370 F(CollectGarbage, 1, 1) \ |
371 F(GetHeapUsage, 0, 1) | 371 F(GetHeapUsage, 0, 1) \ |
| 372 \ |
| 373 /* LiveObjectList support*/ \ |
| 374 F(HasLOLEnabled, 0, 1) \ |
| 375 F(CaptureLOL, 0, 1) \ |
| 376 F(DeleteLOL, 1, 1) \ |
| 377 F(DumpLOL, 5, 1) \ |
| 378 F(GetLOLObj, 1, 1) \ |
| 379 F(GetLOLObjId, 1, 1) \ |
| 380 F(GetLOLObjRetainers, 6, 1) \ |
| 381 F(GetLOLPath, 3, 1) \ |
| 382 F(InfoLOL, 2, 1) \ |
| 383 F(PrintLOLObj, 1, 1) \ |
| 384 F(ResetLOL, 0, 1) \ |
| 385 F(SummarizeLOL, 3, 1) |
372 | 386 |
373 #else | 387 #else |
374 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 388 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
375 #endif | 389 #endif |
376 | 390 |
377 #ifdef ENABLE_LOGGING_AND_PROFILING | 391 #ifdef ENABLE_LOGGING_AND_PROFILING |
378 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ | 392 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ |
379 F(ProfilerResume, 2, 1) \ | 393 F(ProfilerResume, 2, 1) \ |
380 F(ProfilerPause, 2, 1) | 394 F(ProfilerPause, 2, 1) |
381 #else | 395 #else |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 int position); | 564 int position); |
551 | 565 |
552 // Helper functions used stubs. | 566 // Helper functions used stubs. |
553 static void PerformGC(Object* result); | 567 static void PerformGC(Object* result); |
554 }; | 568 }; |
555 | 569 |
556 | 570 |
557 } } // namespace v8::internal | 571 } } // namespace v8::internal |
558 | 572 |
559 #endif // V8_RUNTIME_H_ | 573 #endif // V8_RUNTIME_H_ |
OLD | NEW |