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

Unified Diff: src/isolate.h

Issue 1077153003: Throw when attaching a stack trace to an object fails. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 8a13e91ed69b3ab300957f963701462e09d12f4d..a434edd440c68c4b9d48d93c07a2a16aa9ec344d 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -725,9 +725,10 @@ class Isolate {
StackTrace::StackTraceOptions options);
Handle<Object> CaptureSimpleStackTrace(Handle<JSObject> error_object,
Handle<Object> caller);
- void CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object);
- void CaptureAndSetSimpleStackTrace(Handle<JSObject> error_object,
- Handle<Object> caller);
+ MaybeHandle<JSObject> CaptureAndSetDetailedStackTrace(
+ Handle<JSObject> error_object);
+ MaybeHandle<JSObject> CaptureAndSetSimpleStackTrace(
+ Handle<JSObject> error_object, Handle<Object> caller);
Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object);
Handle<JSArray> GetDetailedFromSimpleStackTrace(
Handle<JSObject> error_object);
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698