Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/runtime.h

Issue 668246: Check that function being patched has no activations on any thread stack (Closed)
Patch Set: format Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/liveedit-delay.js ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 F(DebugGetPrototype, 1, 1) \ 324 F(DebugGetPrototype, 1, 1) \
325 F(SystemBreak, 0, 1) \ 325 F(SystemBreak, 0, 1) \
326 F(DebugDisassembleFunction, 1, 1) \ 326 F(DebugDisassembleFunction, 1, 1) \
327 F(DebugDisassembleConstructor, 1, 1) \ 327 F(DebugDisassembleConstructor, 1, 1) \
328 F(FunctionGetInferredName, 1, 1) \ 328 F(FunctionGetInferredName, 1, 1) \
329 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ 329 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \
330 F(LiveEditGatherCompileInfo, 2, 1) \ 330 F(LiveEditGatherCompileInfo, 2, 1) \
331 F(LiveEditReplaceScript, 3, 1) \ 331 F(LiveEditReplaceScript, 3, 1) \
332 F(LiveEditReplaceFunctionCode, 2, 1) \ 332 F(LiveEditReplaceFunctionCode, 2, 1) \
333 F(LiveEditRelinkFunctionToScript, 2, 1) \ 333 F(LiveEditRelinkFunctionToScript, 2, 1) \
334 F(LiveEditPatchFunctionPositions, 2, 1) 334 F(LiveEditPatchFunctionPositions, 2, 1) \
335 F(LiveEditCheckStackActivations, 1, 1)
335 #else 336 #else
336 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) 337 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F)
337 #endif 338 #endif
338 339
339 #ifdef ENABLE_LOGGING_AND_PROFILING 340 #ifdef ENABLE_LOGGING_AND_PROFILING
340 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ 341 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \
341 F(ProfilerResume, 2, 1) \ 342 F(ProfilerResume, 2, 1) \
342 F(ProfilerPause, 2, 1) 343 F(ProfilerPause, 2, 1)
343 #else 344 #else
344 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) 345 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F)
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 int position); 433 int position);
433 434
434 // Helper functions used stubs. 435 // Helper functions used stubs.
435 static void PerformGC(Object* result); 436 static void PerformGC(Object* result);
436 }; 437 };
437 438
438 439
439 } } // namespace v8::internal 440 } } // namespace v8::internal
440 441
441 #endif // V8_RUNTIME_H_ 442 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/liveedit-delay.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698