| 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(FunctionGetInferredName, 1, 1) \ | 356 F(FunctionGetInferredName, 1, 1) \ |
| 357 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ | 357 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ |
| 358 F(LiveEditGatherCompileInfo, 2, 1) \ | 358 F(LiveEditGatherCompileInfo, 2, 1) \ |
| 359 F(LiveEditReplaceScript, 3, 1) \ | 359 F(LiveEditReplaceScript, 3, 1) \ |
| 360 F(LiveEditReplaceFunctionCode, 2, 1) \ | 360 F(LiveEditReplaceFunctionCode, 2, 1) \ |
| 361 F(LiveEditFunctionSourceUpdated, 1, 1) \ | 361 F(LiveEditFunctionSourceUpdated, 1, 1) \ |
| 362 F(LiveEditFunctionSetScript, 2, 1) \ | 362 F(LiveEditFunctionSetScript, 2, 1) \ |
| 363 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 363 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
| 364 F(LiveEditPatchFunctionPositions, 2, 1) \ | 364 F(LiveEditPatchFunctionPositions, 2, 1) \ |
| 365 F(LiveEditCheckAndDropActivations, 2, 1) \ | 365 F(LiveEditCheckAndDropActivations, 2, 1) \ |
| 366 F(LiveEditCompareStringsLinewise, 2, 1) \ | 366 F(LiveEditCompareStrings, 2, 1) \ |
| 367 F(GetFunctionCodePositionFromSource, 2, 1) \ | 367 F(GetFunctionCodePositionFromSource, 2, 1) \ |
| 368 F(ExecuteInDebugContext, 2, 1) | 368 F(ExecuteInDebugContext, 2, 1) \ |
| 369 \ |
| 370 F(SetFlags, 1, 1) \ |
| 371 F(CollectGarbage, 1, 1) \ |
| 372 F(GetHeapUsage, 0, 1) |
| 373 |
| 369 #else | 374 #else |
| 370 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 375 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
| 371 #endif | 376 #endif |
| 372 | 377 |
| 373 #ifdef ENABLE_LOGGING_AND_PROFILING | 378 #ifdef ENABLE_LOGGING_AND_PROFILING |
| 374 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ | 379 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ |
| 375 F(ProfilerResume, 2, 1) \ | 380 F(ProfilerResume, 2, 1) \ |
| 376 F(ProfilerPause, 2, 1) | 381 F(ProfilerPause, 2, 1) |
| 377 #else | 382 #else |
| 378 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) | 383 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 Handle<Script> script, | 610 Handle<Script> script, |
| 606 int position); | 611 int position); |
| 607 | 612 |
| 608 // Helper functions used stubs. | 613 // Helper functions used stubs. |
| 609 static void PerformGC(Object* result); | 614 static void PerformGC(Object* result); |
| 610 }; | 615 }; |
| 611 | 616 |
| 612 } } // namespace v8::internal | 617 } } // namespace v8::internal |
| 613 | 618 |
| 614 #endif // V8_RUNTIME_H_ | 619 #endif // V8_RUNTIME_H_ |
| OLD | NEW |