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

Side by Side Diff: src/isolate.h

Issue 2389313002: Avoid static initializers in PropertyAccessCompiler (Closed)
Patch Set: Ports Created 4 years, 2 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
« no previous file with comments | « src/ic/x87/access-compiler-x87.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 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 <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 15 matching lines...) Expand all
26 #include "src/zone/zone.h" 26 #include "src/zone/zone.h"
27 27
28 namespace v8 { 28 namespace v8 {
29 29
30 namespace base { 30 namespace base {
31 class RandomNumberGenerator; 31 class RandomNumberGenerator;
32 } 32 }
33 33
34 namespace internal { 34 namespace internal {
35 35
36 class AccessCompilerData;
36 class BasicBlockProfiler; 37 class BasicBlockProfiler;
37 class Bootstrapper; 38 class Bootstrapper;
38 class CancelableTaskManager; 39 class CancelableTaskManager;
39 class CallInterfaceDescriptorData; 40 class CallInterfaceDescriptorData;
40 class CodeAgingHelper; 41 class CodeAgingHelper;
41 class CodeEventDispatcher; 42 class CodeEventDispatcher;
42 class CodeGenerator; 43 class CodeGenerator;
43 class CodeRange; 44 class CodeRange;
44 class CodeStubDescriptor; 45 class CodeStubDescriptor;
45 class CodeTracer; 46 class CodeTracer;
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 void InvalidateArraySpeciesProtector(); 1022 void InvalidateArraySpeciesProtector();
1022 void InvalidateHasInstanceProtector(); 1023 void InvalidateHasInstanceProtector();
1023 void InvalidateIsConcatSpreadableProtector(); 1024 void InvalidateIsConcatSpreadableProtector();
1024 void InvalidateStringLengthOverflowProtector(); 1025 void InvalidateStringLengthOverflowProtector();
1025 1026
1026 // Returns true if array is the initial array prototype in any native context. 1027 // Returns true if array is the initial array prototype in any native context.
1027 bool IsAnyInitialArrayPrototype(Handle<JSArray> array); 1028 bool IsAnyInitialArrayPrototype(Handle<JSArray> array);
1028 1029
1029 CallInterfaceDescriptorData* call_descriptor_data(int index); 1030 CallInterfaceDescriptorData* call_descriptor_data(int index);
1030 1031
1032 AccessCompilerData* access_compiler_data() { return access_compiler_data_; }
1033
1031 void IterateDeferredHandles(ObjectVisitor* visitor); 1034 void IterateDeferredHandles(ObjectVisitor* visitor);
1032 void LinkDeferredHandles(DeferredHandles* deferred_handles); 1035 void LinkDeferredHandles(DeferredHandles* deferred_handles);
1033 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); 1036 void UnlinkDeferredHandles(DeferredHandles* deferred_handles);
1034 1037
1035 #ifdef DEBUG 1038 #ifdef DEBUG
1036 bool IsDeferredHandle(Object** location); 1039 bool IsDeferredHandle(Object** location);
1037 #endif // DEBUG 1040 #endif // DEBUG
1038 1041
1039 bool concurrent_recompilation_enabled() { 1042 bool concurrent_recompilation_enabled() {
1040 // Thread is only available with flag enabled. 1043 // Thread is only available with flag enabled.
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 RuntimeState runtime_state_; 1337 RuntimeState runtime_state_;
1335 Builtins builtins_; 1338 Builtins builtins_;
1336 bool has_installed_extensions_; 1339 bool has_installed_extensions_;
1337 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1340 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
1338 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1341 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1339 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1342 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1340 regexp_macro_assembler_canonicalize_; 1343 regexp_macro_assembler_canonicalize_;
1341 RegExpStack* regexp_stack_; 1344 RegExpStack* regexp_stack_;
1342 DateCache* date_cache_; 1345 DateCache* date_cache_;
1343 CallInterfaceDescriptorData* call_descriptor_data_; 1346 CallInterfaceDescriptorData* call_descriptor_data_;
1347 AccessCompilerData* access_compiler_data_;
1344 base::RandomNumberGenerator* random_number_generator_; 1348 base::RandomNumberGenerator* random_number_generator_;
1345 base::AtomicValue<RAILMode> rail_mode_; 1349 base::AtomicValue<RAILMode> rail_mode_;
1346 1350
1347 // Whether the isolate has been created for snapshotting. 1351 // Whether the isolate has been created for snapshotting.
1348 bool serializer_enabled_; 1352 bool serializer_enabled_;
1349 1353
1350 // True if fatal error has been signaled for this isolate. 1354 // True if fatal error has been signaled for this isolate.
1351 bool has_fatal_error_; 1355 bool has_fatal_error_;
1352 1356
1353 // True if this isolate was initialized from a snapshot. 1357 // True if this isolate was initialized from a snapshot.
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 1677
1674 EmbeddedVector<char, 128> filename_; 1678 EmbeddedVector<char, 128> filename_;
1675 FILE* file_; 1679 FILE* file_;
1676 int scope_depth_; 1680 int scope_depth_;
1677 }; 1681 };
1678 1682
1679 } // namespace internal 1683 } // namespace internal
1680 } // namespace v8 1684 } // namespace v8
1681 1685
1682 #endif // V8_ISOLATE_H_ 1686 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ic/x87/access-compiler-x87.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698