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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 F(SystemBreak, 0, 1) \ | 326 F(SystemBreak, 0, 1) \ |
327 F(DebugDisassembleFunction, 1, 1) \ | 327 F(DebugDisassembleFunction, 1, 1) \ |
328 F(DebugDisassembleConstructor, 1, 1) \ | 328 F(DebugDisassembleConstructor, 1, 1) \ |
329 F(FunctionGetInferredName, 1, 1) \ | 329 F(FunctionGetInferredName, 1, 1) \ |
330 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ | 330 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ |
331 F(LiveEditGatherCompileInfo, 2, 1) \ | 331 F(LiveEditGatherCompileInfo, 2, 1) \ |
332 F(LiveEditReplaceScript, 3, 1) \ | 332 F(LiveEditReplaceScript, 3, 1) \ |
333 F(LiveEditReplaceFunctionCode, 2, 1) \ | 333 F(LiveEditReplaceFunctionCode, 2, 1) \ |
334 F(LiveEditRelinkFunctionToScript, 2, 1) \ | 334 F(LiveEditRelinkFunctionToScript, 2, 1) \ |
335 F(LiveEditPatchFunctionPositions, 2, 1) \ | 335 F(LiveEditPatchFunctionPositions, 2, 1) \ |
336 F(LiveEditCheckStackActivations, 1, 1) | 336 F(LiveEditCheckStackActivations, 1, 1) \ |
| 337 F(GetFunctionCodePositionFromSource, 2, 1) |
337 #else | 338 #else |
338 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 339 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
339 #endif | 340 #endif |
340 | 341 |
341 #ifdef ENABLE_LOGGING_AND_PROFILING | 342 #ifdef ENABLE_LOGGING_AND_PROFILING |
342 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ | 343 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ |
343 F(ProfilerResume, 2, 1) \ | 344 F(ProfilerResume, 2, 1) \ |
344 F(ProfilerPause, 2, 1) | 345 F(ProfilerPause, 2, 1) |
345 #else | 346 #else |
346 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) | 347 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 int position); | 435 int position); |
435 | 436 |
436 // Helper functions used stubs. | 437 // Helper functions used stubs. |
437 static void PerformGC(Object* result); | 438 static void PerformGC(Object* result); |
438 }; | 439 }; |
439 | 440 |
440 | 441 |
441 } } // namespace v8::internal | 442 } } // namespace v8::internal |
442 | 443 |
443 #endif // V8_RUNTIME_H_ | 444 #endif // V8_RUNTIME_H_ |
OLD | NEW |