| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 F(DebugDisassembleFunction, 1, 1) \ | 333 F(DebugDisassembleFunction, 1, 1) \ |
| 334 F(DebugDisassembleConstructor, 1, 1) \ | 334 F(DebugDisassembleConstructor, 1, 1) \ |
| 335 F(FunctionGetInferredName, 1, 1) \ | 335 F(FunctionGetInferredName, 1, 1) \ |
| 336 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ | 336 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ |
| 337 F(LiveEditGatherCompileInfo, 2, 1) \ | 337 F(LiveEditGatherCompileInfo, 2, 1) \ |
| 338 F(LiveEditReplaceScript, 3, 1) \ | 338 F(LiveEditReplaceScript, 3, 1) \ |
| 339 F(LiveEditReplaceFunctionCode, 2, 1) \ | 339 F(LiveEditReplaceFunctionCode, 2, 1) \ |
| 340 F(LiveEditRelinkFunctionToScript, 2, 1) \ | 340 F(LiveEditRelinkFunctionToScript, 2, 1) \ |
| 341 F(LiveEditPatchFunctionPositions, 2, 1) \ | 341 F(LiveEditPatchFunctionPositions, 2, 1) \ |
| 342 F(LiveEditCheckAndDropActivations, 2, 1) \ | 342 F(LiveEditCheckAndDropActivations, 2, 1) \ |
| 343 F(LiveEditCompareStringsLinewise, 2, 1) \ |
| 343 F(GetFunctionCodePositionFromSource, 2, 1) \ | 344 F(GetFunctionCodePositionFromSource, 2, 1) \ |
| 344 F(ExecuteInDebugContext, 2, 1) | 345 F(ExecuteInDebugContext, 2, 1) |
| 345 #else | 346 #else |
| 346 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 347 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
| 347 #endif | 348 #endif |
| 348 | 349 |
| 349 #ifdef ENABLE_LOGGING_AND_PROFILING | 350 #ifdef ENABLE_LOGGING_AND_PROFILING |
| 350 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ | 351 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ |
| 351 F(ProfilerResume, 2, 1) \ | 352 F(ProfilerResume, 2, 1) \ |
| 352 F(ProfilerPause, 2, 1) | 353 F(ProfilerPause, 2, 1) |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 int position); | 443 int position); |
| 443 | 444 |
| 444 // Helper functions used stubs. | 445 // Helper functions used stubs. |
| 445 static void PerformGC(Object* result); | 446 static void PerformGC(Object* result); |
| 446 }; | 447 }; |
| 447 | 448 |
| 448 | 449 |
| 449 } } // namespace v8::internal | 450 } } // namespace v8::internal |
| 450 | 451 |
| 451 #endif // V8_RUNTIME_H_ | 452 #endif // V8_RUNTIME_H_ |
| OLD | NEW |