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

Side by Side Diff: src/isolate.h

Issue 360033002: Revert "Fix stack trace accessor behavior." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/heap.cc ('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 "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 void PrintStack(StringStream* accumulator); 690 void PrintStack(StringStream* accumulator);
691 void PrintStack(FILE* out); 691 void PrintStack(FILE* out);
692 Handle<String> StackTraceString(); 692 Handle<String> StackTraceString();
693 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, 693 NO_INLINE(void PushStackTraceAndDie(unsigned int magic,
694 Object* object, 694 Object* object,
695 Map* map, 695 Map* map,
696 unsigned int magic2)); 696 unsigned int magic2));
697 Handle<JSArray> CaptureCurrentStackTrace( 697 Handle<JSArray> CaptureCurrentStackTrace(
698 int frame_limit, 698 int frame_limit,
699 StackTrace::StackTraceOptions options); 699 StackTrace::StackTraceOptions options);
700 Handle<Object> CaptureSimpleStackTrace(Handle<JSObject> error_object, 700
701 Handle<Object> caller); 701 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object,
702 Handle<Object> caller,
703 int limit);
702 void CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object); 704 void CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object);
703 void CaptureAndSetSimpleStackTrace(Handle<JSObject> error_object,
704 Handle<Object> caller);
705 705
706 // Returns if the top context may access the given global object. If 706 // Returns if the top context may access the given global object. If
707 // the result is false, the pending exception is guaranteed to be 707 // the result is false, the pending exception is guaranteed to be
708 // set. 708 // set.
709 709
710 bool MayNamedAccess(Handle<JSObject> receiver, 710 bool MayNamedAccess(Handle<JSObject> receiver,
711 Handle<Object> key, 711 Handle<Object> key,
712 v8::AccessType type); 712 v8::AccessType type);
713 bool MayIndexedAccess(Handle<JSObject> receiver, 713 bool MayIndexedAccess(Handle<JSObject> receiver,
714 uint32_t index, 714 uint32_t index,
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
1503 } 1503 }
1504 1504
1505 EmbeddedVector<char, 128> filename_; 1505 EmbeddedVector<char, 128> filename_;
1506 FILE* file_; 1506 FILE* file_;
1507 int scope_depth_; 1507 int scope_depth_;
1508 }; 1508 };
1509 1509
1510 } } // namespace v8::internal 1510 } } // namespace v8::internal
1511 1511
1512 #endif // V8_ISOLATE_H_ 1512 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698