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

Side by Side Diff: src/heap.h

Issue 9310122: When rethrowing an exception, print the stack trace of its original site instead of rethrow site. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: . Created 8 years, 10 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 | « no previous file | src/isolate.h » ('j') | src/isolate.cc » ('J')
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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 V(failure_symbol, "<failure>") \ 234 V(failure_symbol, "<failure>") \
235 V(space_symbol, " ") \ 235 V(space_symbol, " ") \
236 V(exec_symbol, "exec") \ 236 V(exec_symbol, "exec") \
237 V(zero_symbol, "0") \ 237 V(zero_symbol, "0") \
238 V(global_eval_symbol, "GlobalEval") \ 238 V(global_eval_symbol, "GlobalEval") \
239 V(identity_hash_symbol, "v8::IdentityHash") \ 239 V(identity_hash_symbol, "v8::IdentityHash") \
240 V(closure_symbol, "(closure)") \ 240 V(closure_symbol, "(closure)") \
241 V(use_strict, "use strict") \ 241 V(use_strict, "use strict") \
242 V(dot_symbol, ".") \ 242 V(dot_symbol, ".") \
243 V(anonymous_function_symbol, "(anonymous function)") \ 243 V(anonymous_function_symbol, "(anonymous function)") \
244 V(compare_ic_symbol, ".compare_ic") \ 244 V(compare_ic_symbol, ".compare_ic") \
245 V(infinity_symbol, "Infinity") \ 245 V(infinity_symbol, "Infinity") \
246 V(minus_infinity_symbol, "-Infinity") 246 V(minus_infinity_symbol, "-Infinity") \
247 V(hidden_stack_trace_symbol, "v8::hidden_stack_trace")
247 248
248 // Forward declarations. 249 // Forward declarations.
249 class GCTracer; 250 class GCTracer;
250 class HeapStats; 251 class HeapStats;
251 class Isolate; 252 class Isolate;
252 class WeakObjectRetainer; 253 class WeakObjectRetainer;
253 254
254 255
255 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, 256 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap,
256 Object** pointer); 257 Object** pointer);
(...skipping 2391 matching lines...) Expand 10 before | Expand all | Expand 10 after
2648 AssertNoAllocation no_alloc; // i.e. no gc allowed. 2649 AssertNoAllocation no_alloc; // i.e. no gc allowed.
2649 2650
2650 private: 2651 private:
2651 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2652 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2652 }; 2653 };
2653 #endif // DEBUG || LIVE_OBJECT_LIST 2654 #endif // DEBUG || LIVE_OBJECT_LIST
2654 2655
2655 } } // namespace v8::internal 2656 } } // namespace v8::internal
2656 2657
2657 #endif // V8_HEAP_H_ 2658 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.h » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698