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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 F(LiveEditGatherCompileInfo, 2, 1) \ | 356 F(LiveEditGatherCompileInfo, 2, 1) \ |
357 F(LiveEditReplaceScript, 3, 1) \ | 357 F(LiveEditReplaceScript, 3, 1) \ |
358 F(LiveEditReplaceFunctionCode, 2, 1) \ | 358 F(LiveEditReplaceFunctionCode, 2, 1) \ |
359 F(LiveEditFunctionSourceUpdated, 1, 1) \ | 359 F(LiveEditFunctionSourceUpdated, 1, 1) \ |
360 F(LiveEditFunctionSetScript, 2, 1) \ | 360 F(LiveEditFunctionSetScript, 2, 1) \ |
361 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 361 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
362 F(LiveEditPatchFunctionPositions, 2, 1) \ | 362 F(LiveEditPatchFunctionPositions, 2, 1) \ |
363 F(LiveEditCheckAndDropActivations, 2, 1) \ | 363 F(LiveEditCheckAndDropActivations, 2, 1) \ |
364 F(LiveEditCompareStringsLinewise, 2, 1) \ | 364 F(LiveEditCompareStringsLinewise, 2, 1) \ |
365 F(GetFunctionCodePositionFromSource, 2, 1) \ | 365 F(GetFunctionCodePositionFromSource, 2, 1) \ |
366 F(ExecuteInDebugContext, 2, 1) | 366 F(ExecuteInDebugContext, 2, 1) \ |
| 367 \ |
| 368 F(SetFlags, 1, 1) \ |
| 369 F(CollectGarbage, 1, 1) \ |
| 370 F(GetHeapUsage, 0, 1) |
| 371 |
367 #else | 372 #else |
368 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 373 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
369 #endif | 374 #endif |
370 | 375 |
371 #ifdef ENABLE_LOGGING_AND_PROFILING | 376 #ifdef ENABLE_LOGGING_AND_PROFILING |
372 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ | 377 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ |
373 F(ProfilerResume, 2, 1) \ | 378 F(ProfilerResume, 2, 1) \ |
374 F(ProfilerPause, 2, 1) | 379 F(ProfilerPause, 2, 1) |
375 #else | 380 #else |
376 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) | 381 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 int position); | 549 int position); |
545 | 550 |
546 // Helper functions used stubs. | 551 // Helper functions used stubs. |
547 static void PerformGC(Object* result); | 552 static void PerformGC(Object* result); |
548 }; | 553 }; |
549 | 554 |
550 | 555 |
551 } } // namespace v8::internal | 556 } } // namespace v8::internal |
552 | 557 |
553 #endif // V8_RUNTIME_H_ | 558 #endif // V8_RUNTIME_H_ |
OLD | NEW |