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

Side by Side Diff: src/isolate.h

Issue 9430044: Remove unused class AssertNoZoneAllocation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: remove assertion. 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/zone.h » ('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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ 326 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \
327 V(int, bad_char_shift_table, kUC16AlphabetSize) \ 327 V(int, bad_char_shift_table, kUC16AlphabetSize) \
328 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ 328 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \
329 V(int, suffix_table, (kBMMaxShift + 1)) \ 329 V(int, suffix_table, (kBMMaxShift + 1)) \
330 V(uint32_t, private_random_seed, 2) \ 330 V(uint32_t, private_random_seed, 2) \
331 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) 331 ISOLATE_INIT_DEBUG_ARRAY_LIST(V)
332 332
333 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache; 333 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache;
334 334
335 #define ISOLATE_INIT_LIST(V) \ 335 #define ISOLATE_INIT_LIST(V) \
336 /* AssertNoZoneAllocation state. */ \
337 V(bool, zone_allow_allocation, true) \
338 /* SerializerDeserializer state. */ \ 336 /* SerializerDeserializer state. */ \
339 V(int, serialize_partial_snapshot_cache_length, 0) \ 337 V(int, serialize_partial_snapshot_cache_length, 0) \
340 /* Assembler state. */ \ 338 /* Assembler state. */ \
341 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \ 339 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \
342 V(byte*, assembler_spare_buffer, NULL) \ 340 V(byte*, assembler_spare_buffer, NULL) \
343 V(FatalErrorCallback, exception_behavior, NULL) \ 341 V(FatalErrorCallback, exception_behavior, NULL) \
344 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \ 342 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \
345 V(v8::Debug::MessageHandler, message_handler, NULL) \ 343 V(v8::Debug::MessageHandler, message_handler, NULL) \
346 /* To distinguish the function templates, so that we can find them in the */ \ 344 /* To distinguish the function templates, so that we can find them in the */ \
347 /* function cache of the global context. */ \ 345 /* function cache of the global context. */ \
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1404 1402
1405 // Mark the global context with out of memory. 1403 // Mark the global context with out of memory.
1406 inline void Context::mark_out_of_memory() { 1404 inline void Context::mark_out_of_memory() {
1407 global_context()->set_out_of_memory(HEAP->true_value()); 1405 global_context()->set_out_of_memory(HEAP->true_value());
1408 } 1406 }
1409 1407
1410 1408
1411 } } // namespace v8::internal 1409 } } // namespace v8::internal
1412 1410
1413 #endif // V8_ISOLATE_H_ 1411 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/zone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698