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

Side by Side Diff: src/isolate.h

Issue 446923002: Get rid of the "spare buffer" cache. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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
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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) 333 ISOLATE_INIT_DEBUG_ARRAY_LIST(V)
334 334
335 typedef List<HeapObject*> DebugObjectCache; 335 typedef List<HeapObject*> DebugObjectCache;
336 336
337 #define ISOLATE_INIT_LIST(V) \ 337 #define ISOLATE_INIT_LIST(V) \
338 /* SerializerDeserializer state. */ \ 338 /* SerializerDeserializer state. */ \
339 V(int, serialize_partial_snapshot_cache_length, 0) \ 339 V(int, serialize_partial_snapshot_cache_length, 0) \
340 V(int, serialize_partial_snapshot_cache_capacity, 0) \ 340 V(int, serialize_partial_snapshot_cache_capacity, 0) \
341 V(Object**, serialize_partial_snapshot_cache, NULL) \ 341 V(Object**, serialize_partial_snapshot_cache, NULL) \
342 /* Assembler state. */ \ 342 /* Assembler state. */ \
343 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \
344 V(byte*, assembler_spare_buffer, NULL) \
345 V(FatalErrorCallback, exception_behavior, NULL) \ 343 V(FatalErrorCallback, exception_behavior, NULL) \
346 V(LogEventCallback, event_logger, NULL) \ 344 V(LogEventCallback, event_logger, NULL) \
347 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \ 345 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \
348 /* To distinguish the function templates, so that we can find them in the */ \ 346 /* To distinguish the function templates, so that we can find them in the */ \
349 /* function cache of the native context. */ \ 347 /* function cache of the native context. */ \
350 V(int, next_serial_number, 0) \ 348 V(int, next_serial_number, 0) \
351 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \ 349 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \
352 /* Part of the state of liveedit. */ \ 350 /* Part of the state of liveedit. */ \
353 V(FunctionInfoListener*, active_function_info_listener, NULL) \ 351 V(FunctionInfoListener*, active_function_info_listener, NULL) \
354 /* State for Relocatable. */ \ 352 /* State for Relocatable. */ \
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1533 } 1531 }
1534 1532
1535 EmbeddedVector<char, 128> filename_; 1533 EmbeddedVector<char, 128> filename_;
1536 FILE* file_; 1534 FILE* file_;
1537 int scope_depth_; 1535 int scope_depth_;
1538 }; 1536 };
1539 1537
1540 } } // namespace v8::internal 1538 } } // namespace v8::internal
1541 1539
1542 #endif // V8_ISOLATE_H_ 1540 #endif // V8_ISOLATE_H_
OLDNEW
« src/arm64/assembler-arm64.cc ('K') | « src/ia32/assembler-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698