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

Side by Side Diff: src/isolate.h

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « src/interpreter/bytecode-generator.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 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 } 1211 }
1212 1212
1213 // Clear all optimized code stored in native contexts. 1213 // Clear all optimized code stored in native contexts.
1214 void ClearOSROptimizedCode(); 1214 void ClearOSROptimizedCode();
1215 1215
1216 // Ensure that a particular optimized code is evicted. 1216 // Ensure that a particular optimized code is evicted.
1217 void EvictOSROptimizedCode(Code* code, const char* reason); 1217 void EvictOSROptimizedCode(Code* code, const char* reason);
1218 1218
1219 bool IsInAnyContext(Object* object, uint32_t index); 1219 bool IsInAnyContext(Object* object, uint32_t index);
1220 1220
1221 void SetHostImportModuleDynamicallyCallback(
1222 HostImportModuleDynamicallyCallback callback);
1223 void RunHostImportModuleDynamicallyCallback(Handle<String> referrer,
1224 Handle<String> specifier,
1225 Handle<JSPromise> promise);
1226
1221 void SetRAILMode(RAILMode rail_mode); 1227 void SetRAILMode(RAILMode rail_mode);
1222 1228
1223 RAILMode rail_mode() { return rail_mode_.Value(); } 1229 RAILMode rail_mode() { return rail_mode_.Value(); }
1224 1230
1225 double LoadStartTimeMs(); 1231 double LoadStartTimeMs();
1226 1232
1227 void IsolateInForegroundNotification(); 1233 void IsolateInForegroundNotification();
1228 1234
1229 void IsolateInBackgroundNotification(); 1235 void IsolateInBackgroundNotification();
1230 1236
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 regexp_macro_assembler_canonicalize_; 1448 regexp_macro_assembler_canonicalize_;
1443 RegExpStack* regexp_stack_; 1449 RegExpStack* regexp_stack_;
1444 List<int> regexp_indices_; 1450 List<int> regexp_indices_;
1445 DateCache* date_cache_; 1451 DateCache* date_cache_;
1446 CallInterfaceDescriptorData* call_descriptor_data_; 1452 CallInterfaceDescriptorData* call_descriptor_data_;
1447 AccessCompilerData* access_compiler_data_; 1453 AccessCompilerData* access_compiler_data_;
1448 base::RandomNumberGenerator* random_number_generator_; 1454 base::RandomNumberGenerator* random_number_generator_;
1449 base::AtomicValue<RAILMode> rail_mode_; 1455 base::AtomicValue<RAILMode> rail_mode_;
1450 bool promise_hook_or_debug_is_active_; 1456 bool promise_hook_or_debug_is_active_;
1451 PromiseHook promise_hook_; 1457 PromiseHook promise_hook_;
1458 HostImportModuleDynamicallyCallback host_import_module_dynamically_callback_;
1452 base::Mutex rail_mutex_; 1459 base::Mutex rail_mutex_;
1453 double load_start_time_ms_; 1460 double load_start_time_ms_;
1454 1461
1455 // Whether the isolate has been created for snapshotting. 1462 // Whether the isolate has been created for snapshotting.
1456 bool serializer_enabled_; 1463 bool serializer_enabled_;
1457 1464
1458 // True if fatal error has been signaled for this isolate. 1465 // True if fatal error has been signaled for this isolate.
1459 bool has_fatal_error_; 1466 bool has_fatal_error_;
1460 1467
1461 // True if this isolate was initialized from a snapshot. 1468 // True if this isolate was initialized from a snapshot.
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
1791 1798
1792 EmbeddedVector<char, 128> filename_; 1799 EmbeddedVector<char, 128> filename_;
1793 FILE* file_; 1800 FILE* file_;
1794 int scope_depth_; 1801 int scope_depth_;
1795 }; 1802 };
1796 1803
1797 } // namespace internal 1804 } // namespace internal
1798 } // namespace v8 1805 } // namespace v8
1799 1806
1800 #endif // V8_ISOLATE_H_ 1807 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698