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

Side by Side Diff: src/isolate.h

Issue 6899011: LiveEdit: optimize substring comparison (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 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/liveedit.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 } 862 }
863 863
864 StaticResource<StringInputBuffer>* objects_string_input_buffer() { 864 StaticResource<StringInputBuffer>* objects_string_input_buffer() {
865 return &objects_string_input_buffer_; 865 return &objects_string_input_buffer_;
866 } 866 }
867 867
868 AstSentinels* ast_sentinels() { return ast_sentinels_; } 868 AstSentinels* ast_sentinels() { return ast_sentinels_; }
869 869
870 RuntimeState* runtime_state() { return &runtime_state_; } 870 RuntimeState* runtime_state() { return &runtime_state_; }
871 871
872 StringInputBuffer* liveedit_compare_substrings_buf1() {
873 return &liveedit_compare_substrings_buf1_;
874 }
875
876 StringInputBuffer* liveedit_compare_substrings_buf2() {
877 return &liveedit_compare_substrings_buf2_;
878 }
879
880 StaticResource<SafeStringInputBuffer>* compiler_safe_string_input_buffer() { 872 StaticResource<SafeStringInputBuffer>* compiler_safe_string_input_buffer() {
881 return &compiler_safe_string_input_buffer_; 873 return &compiler_safe_string_input_buffer_;
882 } 874 }
883 875
884 Builtins* builtins() { return &builtins_; } 876 Builtins* builtins() { return &builtins_; }
885 877
886 unibrow::Mapping<unibrow::Ecma262Canonicalize>* 878 unibrow::Mapping<unibrow::Ecma262Canonicalize>*
887 regexp_macro_assembler_canonicalize() { 879 regexp_macro_assembler_canonicalize() {
888 return &regexp_macro_assembler_canonicalize_; 880 return &regexp_macro_assembler_canonicalize_;
889 } 881 }
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 PreallocatedStorage in_use_list_; 1125 PreallocatedStorage in_use_list_;
1134 PreallocatedStorage free_list_; 1126 PreallocatedStorage free_list_;
1135 bool preallocated_storage_preallocated_; 1127 bool preallocated_storage_preallocated_;
1136 PcToCodeCache* pc_to_code_cache_; 1128 PcToCodeCache* pc_to_code_cache_;
1137 StringInputBuffer* write_input_buffer_; 1129 StringInputBuffer* write_input_buffer_;
1138 GlobalHandles* global_handles_; 1130 GlobalHandles* global_handles_;
1139 ContextSwitcher* context_switcher_; 1131 ContextSwitcher* context_switcher_;
1140 ThreadManager* thread_manager_; 1132 ThreadManager* thread_manager_;
1141 AstSentinels* ast_sentinels_; 1133 AstSentinels* ast_sentinels_;
1142 RuntimeState runtime_state_; 1134 RuntimeState runtime_state_;
1143 StringInputBuffer liveedit_compare_substrings_buf1_;
1144 StringInputBuffer liveedit_compare_substrings_buf2_;
1145 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; 1135 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_;
1146 Builtins builtins_; 1136 Builtins builtins_;
1147 StringTracker* string_tracker_; 1137 StringTracker* string_tracker_;
1148 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1138 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
1149 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1139 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1150 StringInputBuffer objects_string_compare_buffer_a_; 1140 StringInputBuffer objects_string_compare_buffer_a_;
1151 StringInputBuffer objects_string_compare_buffer_b_; 1141 StringInputBuffer objects_string_compare_buffer_b_;
1152 StaticResource<StringInputBuffer> objects_string_input_buffer_; 1142 StaticResource<StringInputBuffer> objects_string_input_buffer_;
1153 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1143 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1154 regexp_macro_assembler_canonicalize_; 1144 regexp_macro_assembler_canonicalize_;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 1369
1380 } } // namespace v8::internal 1370 } } // namespace v8::internal
1381 1371
1382 // TODO(isolates): Get rid of these -inl.h includes and place them only where 1372 // TODO(isolates): Get rid of these -inl.h includes and place them only where
1383 // they're needed. 1373 // they're needed.
1384 #include "allocation-inl.h" 1374 #include "allocation-inl.h"
1385 #include "zone-inl.h" 1375 #include "zone-inl.h"
1386 #include "frames-inl.h" 1376 #include "frames-inl.h"
1387 1377
1388 #endif // V8_ISOLATE_H_ 1378 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698