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