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

Side by Side Diff: include/v8.h

Issue 2371833007: [wasm] Initial signal handler (Closed)
Patch Set: Addressing some of Jochen's feedback Created 3 years, 11 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 7560 matching lines...) Expand 10 before | Expand all | Expand 10 after
7571 * initialized. 7571 * initialized.
7572 */ 7572 */
7573 static void InitializePlatform(Platform* platform); 7573 static void InitializePlatform(Platform* platform);
7574 7574
7575 /** 7575 /**
7576 * Clears all references to the v8::Platform. This should be invoked after 7576 * Clears all references to the v8::Platform. This should be invoked after
7577 * V8 was disposed. 7577 * V8 was disposed.
7578 */ 7578 */
7579 static void ShutdownPlatform(); 7579 static void ShutdownPlatform();
7580 7580
7581 /**
7582 * Given the V8 signal handler a chance to handle a fault.
7583 */
7584 static bool MaybeHandleFault(int signum, void* info, void* context);
titzer 2017/01/09 09:26:56 Trying to think of a better name here...MaybeHandl
Eric Holk 2017/01/10 23:10:48 Yeah, Maybe seems a little noncommittal. I feel li
7585
7586 /**
7587 * Enable the default signal handler rather than using one provided by the
7588 * embedder.
7589 */
7590 static bool RegisterDefaultSignalHandler();
7591
7581 private: 7592 private:
7582 V8(); 7593 V8();
7583 7594
7584 static internal::Object** GlobalizeReference(internal::Isolate* isolate, 7595 static internal::Object** GlobalizeReference(internal::Isolate* isolate,
7585 internal::Object** handle); 7596 internal::Object** handle);
7586 static internal::Object** CopyPersistent(internal::Object** handle); 7597 static internal::Object** CopyPersistent(internal::Object** handle);
7587 static void DisposeGlobal(internal::Object** global_handle); 7598 static void DisposeGlobal(internal::Object** global_handle);
7588 static void MakeWeak(internal::Object** location, void* data, 7599 static void MakeWeak(internal::Object** location, void* data,
7589 WeakCallbackInfo<void>::Callback weak_callback, 7600 WeakCallbackInfo<void>::Callback weak_callback,
7590 WeakCallbackType type); 7601 WeakCallbackType type);
(...skipping 2170 matching lines...) Expand 10 before | Expand all | Expand 10 after
9761 */ 9772 */
9762 9773
9763 9774
9764 } // namespace v8 9775 } // namespace v8
9765 9776
9766 9777
9767 #undef TYPE_CHECK 9778 #undef TYPE_CHECK
9768 9779
9769 9780
9770 #endif // INCLUDE_V8_H_ 9781 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/compiler/wasm-compiler.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698