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

Side by Side Diff: src/heap.h

Issue 11971015: Skip stack trace formatting in case the global object is already dead. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix leaks in the setter. Created 7 years, 11 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/handles.cc ('k') | src/heap.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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 V(identity_hash_symbol, "v8::IdentityHash") \ 246 V(identity_hash_symbol, "v8::IdentityHash") \
247 V(closure_symbol, "(closure)") \ 247 V(closure_symbol, "(closure)") \
248 V(use_strict, "use strict") \ 248 V(use_strict, "use strict") \
249 V(dot_symbol, ".") \ 249 V(dot_symbol, ".") \
250 V(anonymous_function_symbol, "(anonymous function)") \ 250 V(anonymous_function_symbol, "(anonymous function)") \
251 V(compare_ic_symbol, "==") \ 251 V(compare_ic_symbol, "==") \
252 V(strict_compare_ic_symbol, "===") \ 252 V(strict_compare_ic_symbol, "===") \
253 V(infinity_symbol, "Infinity") \ 253 V(infinity_symbol, "Infinity") \
254 V(minus_infinity_symbol, "-Infinity") \ 254 V(minus_infinity_symbol, "-Infinity") \
255 V(hidden_stack_trace_symbol, "v8::hidden_stack_trace") \ 255 V(hidden_stack_trace_symbol, "v8::hidden_stack_trace") \
256 V(overflow_stack_trace_symbol, "v8::overflow_stack_trace") \
256 V(query_colon_symbol, "(?:)") 257 V(query_colon_symbol, "(?:)")
257 258
258 // Forward declarations. 259 // Forward declarations.
259 class GCTracer; 260 class GCTracer;
260 class HeapStats; 261 class HeapStats;
261 class Isolate; 262 class Isolate;
262 class WeakObjectRetainer; 263 class WeakObjectRetainer;
263 264
264 265
265 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, 266 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap,
(...skipping 2631 matching lines...) Expand 10 before | Expand all | Expand 10 after
2897 AssertNoAllocation no_alloc; // i.e. no gc allowed. 2898 AssertNoAllocation no_alloc; // i.e. no gc allowed.
2898 2899
2899 private: 2900 private:
2900 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2901 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2901 }; 2902 };
2902 #endif // DEBUG 2903 #endif // DEBUG
2903 2904
2904 } } // namespace v8::internal 2905 } } // namespace v8::internal
2905 2906
2906 #endif // V8_HEAP_H_ 2907 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/handles.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698