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

Side by Side Diff: include/v8.h

Issue 238803002: Removed GetDefaultIsolate{Debugger,ForLocking,StackGuard}. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | include/v8-debug.h » ('j') | include/v8-debug.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 4822 matching lines...) Expand 10 before | Expand all | Expand 10 after
4833 * \note the set of events declared in JitCodeEvent::EventType is expected to 4833 * \note the set of events declared in JitCodeEvent::EventType is expected to
4834 * grow over time, and the JitCodeEvent structure is expected to accrue 4834 * grow over time, and the JitCodeEvent structure is expected to accrue
4835 * new members. The \p event_handler function must ignore event codes 4835 * new members. The \p event_handler function must ignore event codes
4836 * it does not recognize to maintain future compatibility. 4836 * it does not recognize to maintain future compatibility.
4837 */ 4837 */
4838 static void SetJitCodeEventHandler(JitCodeEventOptions options, 4838 static void SetJitCodeEventHandler(JitCodeEventOptions options,
4839 JitCodeEventHandler event_handler); 4839 JitCodeEventHandler event_handler);
4840 4840
4841 /** 4841 /**
4842 * Forcefully terminate the current thread of JavaScript execution 4842 * Forcefully terminate the current thread of JavaScript execution
4843 * in the given isolate. If no isolate is provided, the default 4843 * in the given isolate.
4844 * isolate is used.
4845 * 4844 *
4846 * This method can be used by any thread even if that thread has not 4845 * This method can be used by any thread even if that thread has not
4847 * acquired the V8 lock with a Locker object. 4846 * acquired the V8 lock with a Locker object.
4848 * 4847 *
4849 * \param isolate The isolate in which to terminate the current JS execution. 4848 * \param isolate The isolate in which to terminate the current JS execution.
4850 */ 4849 */
4851 static void TerminateExecution(Isolate* isolate = NULL); 4850 static void TerminateExecution(Isolate* isolate);
Paweł Hajdan Jr. 2014/04/17 14:24:07 Shouldn't this go through V8_DEPRECATED first?
4852 4851
4853 /** 4852 /**
4854 * Is V8 terminating JavaScript execution. 4853 * Is V8 terminating JavaScript execution.
4855 * 4854 *
4856 * Returns true if JavaScript execution is currently terminating 4855 * Returns true if JavaScript execution is currently terminating
4857 * because of a call to TerminateExecution. In that case there are 4856 * because of a call to TerminateExecution. In that case there are
4858 * still JavaScript frames on the stack and the termination 4857 * still JavaScript frames on the stack and the termination
4859 * exception is still active. 4858 * exception is still active.
4860 * 4859 *
4861 * \param isolate The isolate in which to check. 4860 * \param isolate The isolate in which to check.
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after
6631 */ 6630 */
6632 6631
6633 6632
6634 } // namespace v8 6633 } // namespace v8
6635 6634
6636 6635
6637 #undef TYPE_CHECK 6636 #undef TYPE_CHECK
6638 6637
6639 6638
6640 #endif // V8_H_ 6639 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | include/v8-debug.h » ('j') | include/v8-debug.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698