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

Side by Side Diff: src/isolate.h

Issue 2161953003: Remove stack overflow boilerplate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Satisfy older mips/arm gcc versions Created 4 years, 5 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/contexts.h ('k') | src/isolate.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 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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 void PrintStack(StringStream* accumulator, 689 void PrintStack(StringStream* accumulator,
690 PrintStackMode mode = kPrintStackVerbose); 690 PrintStackMode mode = kPrintStackVerbose);
691 void PrintStack(FILE* out, PrintStackMode mode = kPrintStackVerbose); 691 void PrintStack(FILE* out, PrintStackMode mode = kPrintStackVerbose);
692 Handle<String> StackTraceString(); 692 Handle<String> StackTraceString();
693 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, void* ptr1, 693 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, void* ptr1,
694 void* ptr2, unsigned int magic2)); 694 void* ptr2, unsigned int magic2));
695 Handle<JSArray> CaptureCurrentStackTrace( 695 Handle<JSArray> CaptureCurrentStackTrace(
696 int frame_limit, 696 int frame_limit,
697 StackTrace::StackTraceOptions options); 697 StackTrace::StackTraceOptions options);
698 Handle<Object> CaptureSimpleStackTrace(Handle<JSReceiver> error_object, 698 Handle<Object> CaptureSimpleStackTrace(Handle<JSReceiver> error_object,
699 FrameSkipMode mode,
699 Handle<Object> caller); 700 Handle<Object> caller);
700 MaybeHandle<JSReceiver> CaptureAndSetDetailedStackTrace( 701 MaybeHandle<JSReceiver> CaptureAndSetDetailedStackTrace(
701 Handle<JSReceiver> error_object); 702 Handle<JSReceiver> error_object);
702 MaybeHandle<JSReceiver> CaptureAndSetSimpleStackTrace( 703 MaybeHandle<JSReceiver> CaptureAndSetSimpleStackTrace(
703 Handle<JSReceiver> error_object, 704 Handle<JSReceiver> error_object, FrameSkipMode mode,
704 Handle<Object> caller = Handle<Object>()); 705 Handle<Object> caller);
705 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object); 706 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object);
706 707
707 // Returns if the given context may access the given global object. If 708 // Returns if the given context may access the given global object. If
708 // the result is false, the pending exception is guaranteed to be 709 // the result is false, the pending exception is guaranteed to be
709 // set. 710 // set.
710 bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver); 711 bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver);
711 712
712 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback); 713 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback);
713 void ReportFailedAccessCheck(Handle<JSObject> receiver); 714 void ReportFailedAccessCheck(Handle<JSObject> receiver);
714 715
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1643 1644
1644 EmbeddedVector<char, 128> filename_; 1645 EmbeddedVector<char, 128> filename_;
1645 FILE* file_; 1646 FILE* file_;
1646 int scope_depth_; 1647 int scope_depth_;
1647 }; 1648 };
1648 1649
1649 } // namespace internal 1650 } // namespace internal
1650 } // namespace v8 1651 } // namespace v8
1651 1652
1652 #endif // V8_ISOLATE_H_ 1653 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698