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

Side by Side Diff: src/isolate.h

Issue 77723007: Removed dead stack printing code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 | 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 // 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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 // exception. 709 // exception.
710 bool is_out_of_memory(); 710 bool is_out_of_memory();
711 bool ignore_out_of_memory() { 711 bool ignore_out_of_memory() {
712 return thread_local_top_.ignore_out_of_memory_; 712 return thread_local_top_.ignore_out_of_memory_;
713 } 713 }
714 void set_ignore_out_of_memory(bool value) { 714 void set_ignore_out_of_memory(bool value) {
715 thread_local_top_.ignore_out_of_memory_ = value; 715 thread_local_top_.ignore_out_of_memory_ = value;
716 } 716 }
717 717
718 void PrintCurrentStackTrace(FILE* out); 718 void PrintCurrentStackTrace(FILE* out);
719 void PrintStackTrace(FILE* out, char* thread_data);
720 void PrintStack(StringStream* accumulator); 719 void PrintStack(StringStream* accumulator);
721 void PrintStack(FILE* out); 720 void PrintStack(FILE* out);
722 void PrintStack();
723 Handle<String> StackTraceString(); 721 Handle<String> StackTraceString();
724 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, 722 NO_INLINE(void PushStackTraceAndDie(unsigned int magic,
725 Object* object, 723 Object* object,
726 Map* map, 724 Map* map,
727 unsigned int magic2)); 725 unsigned int magic2));
728 Handle<JSArray> CaptureCurrentStackTrace( 726 Handle<JSArray> CaptureCurrentStackTrace(
729 int frame_limit, 727 int frame_limit,
730 StackTrace::StackTraceOptions options); 728 StackTrace::StackTraceOptions options);
731 729
732 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object, 730 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object,
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 void Enter(); 1230 void Enter();
1233 1231
1234 // Exits the current thread. The previosuly entered Isolate is restored 1232 // Exits the current thread. The previosuly entered Isolate is restored
1235 // for the thread. 1233 // for the thread.
1236 // Not thread-safe. Multiple threads should not Enter/Exit the same isolate 1234 // Not thread-safe. Multiple threads should not Enter/Exit the same isolate
1237 // at the same time, this should be prevented using external locking. 1235 // at the same time, this should be prevented using external locking.
1238 void Exit(); 1236 void Exit();
1239 1237
1240 void InitializeThreadLocal(); 1238 void InitializeThreadLocal();
1241 1239
1242 void PrintStackTrace(FILE* out, ThreadLocalTop* thread);
1243 void MarkCompactPrologue(bool is_compacting, 1240 void MarkCompactPrologue(bool is_compacting,
1244 ThreadLocalTop* archived_thread_data); 1241 ThreadLocalTop* archived_thread_data);
1245 void MarkCompactEpilogue(bool is_compacting, 1242 void MarkCompactEpilogue(bool is_compacting,
1246 ThreadLocalTop* archived_thread_data); 1243 ThreadLocalTop* archived_thread_data);
1247 1244
1248 void FillCache(); 1245 void FillCache();
1249 1246
1250 void PropagatePendingExceptionToExternalTryCatch(); 1247 void PropagatePendingExceptionToExternalTryCatch();
1251 1248
1252 void InitializeDebugger(); 1249 void InitializeDebugger();
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 } 1571 }
1575 1572
1576 EmbeddedVector<char, 128> filename_; 1573 EmbeddedVector<char, 128> filename_;
1577 FILE* file_; 1574 FILE* file_;
1578 int scope_depth_; 1575 int scope_depth_;
1579 }; 1576 };
1580 1577
1581 } } // namespace v8::internal 1578 } } // namespace v8::internal
1582 1579
1583 #endif // V8_ISOLATE_H_ 1580 #endif // V8_ISOLATE_H_
OLDNEW
« 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