Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(603)

Side by Side Diff: src/runtime.h

Issue 6351007: Adding debugger interface and runtime functions hooks for supporting... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/debug-debugger.js ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/debug-debugger.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698