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

Side by Side Diff: src/isolate.h

Issue 2807031: [Isolates] RegExpStack and memory allocation limits (statics #6) (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: -> is different than . Created 10 years, 5 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/assembler.cc ('k') | 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 class CpuProfiler; 60 class CpuProfiler;
61 class Deserializer; 61 class Deserializer;
62 class EmptyStatement; 62 class EmptyStatement;
63 class FunctionInfoListener; 63 class FunctionInfoListener;
64 class HandleScopeImplementer; 64 class HandleScopeImplementer;
65 class HeapProfiler; 65 class HeapProfiler;
66 class InlineRuntimeFunctionsTable; 66 class InlineRuntimeFunctionsTable;
67 class NoAllocationStringAllocator; 67 class NoAllocationStringAllocator;
68 class PreallocatedMemoryThread; 68 class PreallocatedMemoryThread;
69 class ProducerHeapProfile; 69 class ProducerHeapProfile;
70 class RegExpStack;
70 class SaveContext; 71 class SaveContext;
71 class StubCache; 72 class StubCache;
72 class StringInputBuffer; 73 class StringInputBuffer;
73 class StringTracker; 74 class StringTracker;
74 class ScannerCharacterClasses; 75 class ScannerCharacterClasses;
75 class ThreadVisitor; // Defined in v8threads.h 76 class ThreadVisitor; // Defined in v8threads.h
76 class ThreadManager; 77 class ThreadManager;
77 class VMState; 78 class VMState;
78 79
79 typedef void* ExternalReferenceRedirector(void* original, bool fp_return); 80 typedef void* ExternalReferenceRedirector(void* original, bool fp_return);
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 return &compiler_safe_string_input_buffer_; 657 return &compiler_safe_string_input_buffer_;
657 } 658 }
658 659
659 Builtins* builtins() { return &builtins_; } 660 Builtins* builtins() { return &builtins_; }
660 661
661 unibrow::Mapping<unibrow::Ecma262Canonicalize>* 662 unibrow::Mapping<unibrow::Ecma262Canonicalize>*
662 regexp_macro_assembler_canonicalize() { 663 regexp_macro_assembler_canonicalize() {
663 return &regexp_macro_assembler_canonicalize_; 664 return &regexp_macro_assembler_canonicalize_;
664 } 665 }
665 666
667 RegExpStack* regexp_stack() { return regexp_stack_; }
668
666 unibrow::Mapping<unibrow::Ecma262Canonicalize>* 669 unibrow::Mapping<unibrow::Ecma262Canonicalize>*
667 interp_canonicalize_mapping() { 670 interp_canonicalize_mapping() {
668 return &interp_canonicalize_mapping_; 671 return &interp_canonicalize_mapping_;
669 } 672 }
670 673
671 ZoneObjectList* frame_element_constant_list() { 674 ZoneObjectList* frame_element_constant_list() {
672 return &frame_element_constant_list_; 675 return &frame_element_constant_list_;
673 } 676 }
674 677
675 ZoneObjectList* result_constant_list() { 678 ZoneObjectList* result_constant_list() {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; 796 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_;
794 Builtins builtins_; 797 Builtins builtins_;
795 StringTracker* string_tracker_; 798 StringTracker* string_tracker_;
796 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 799 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
797 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 800 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
798 StringInputBuffer objects_string_compare_buffer_a_; 801 StringInputBuffer objects_string_compare_buffer_a_;
799 StringInputBuffer objects_string_compare_buffer_b_; 802 StringInputBuffer objects_string_compare_buffer_b_;
800 StaticResource<StringInputBuffer> objects_string_input_buffer_; 803 StaticResource<StringInputBuffer> objects_string_input_buffer_;
801 unibrow::Mapping<unibrow::Ecma262Canonicalize> 804 unibrow::Mapping<unibrow::Ecma262Canonicalize>
802 regexp_macro_assembler_canonicalize_; 805 regexp_macro_assembler_canonicalize_;
806 RegExpStack* regexp_stack_;
803 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; 807 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
804 ZoneObjectList frame_element_constant_list_; 808 ZoneObjectList frame_element_constant_list_;
805 ZoneObjectList result_constant_list_; 809 ZoneObjectList result_constant_list_;
806 810
807 811
808 #ifdef DEBUG 812 #ifdef DEBUG
809 // A static array of histogram info for each type. 813 // A static array of histogram info for each type.
810 HistogramInfo heap_histograms_[LAST_TYPE + 1]; 814 HistogramInfo heap_histograms_[LAST_TYPE + 1];
811 JSObject::SpillInformation js_spill_information_; 815 JSObject::SpillInformation js_spill_information_;
812 int code_kind_statistics_[Code::NUMBER_OF_KINDS]; 816 int code_kind_statistics_[Code::NUMBER_OF_KINDS];
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 #define ISOLATED_CLASS class 980 #define ISOLATED_CLASS class
977 981
978 } } // namespace v8::internal 982 } } // namespace v8::internal
979 983
980 // TODO(isolates): Get rid of these -inl.h includes and place them only where 984 // TODO(isolates): Get rid of these -inl.h includes and place them only where
981 // they're needed. 985 // they're needed.
982 #include "allocation-inl.h" 986 #include "allocation-inl.h"
983 #include "zone-inl.h" 987 #include "zone-inl.h"
984 988
985 #endif // V8_ISOLATE_H_ 989 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698