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

Side by Side Diff: src/isolate.h

Issue 2915793002: [api] Prototype WeakRef implementation
Patch Set: Created 3 years, 6 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/inspector/v8-injected-script-host.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 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 void PromiseReactionJob(Handle<PromiseReactionJobInfo> info, 1148 void PromiseReactionJob(Handle<PromiseReactionJobInfo> info,
1149 MaybeHandle<Object>* result, 1149 MaybeHandle<Object>* result,
1150 MaybeHandle<Object>* maybe_exception); 1150 MaybeHandle<Object>* maybe_exception);
1151 void PromiseResolveThenableJob(Handle<PromiseResolveThenableJobInfo> info, 1151 void PromiseResolveThenableJob(Handle<PromiseResolveThenableJobInfo> info,
1152 MaybeHandle<Object>* result, 1152 MaybeHandle<Object>* result,
1153 MaybeHandle<Object>* maybe_exception); 1153 MaybeHandle<Object>* maybe_exception);
1154 void EnqueueMicrotask(Handle<Object> microtask); 1154 void EnqueueMicrotask(Handle<Object> microtask);
1155 void RunMicrotasks(); 1155 void RunMicrotasks();
1156 bool IsRunningMicrotasks() const { return is_running_microtasks_; } 1156 bool IsRunningMicrotasks() const { return is_running_microtasks_; }
1157 1157
1158 void AddWeakRefExecution(JSWeakRef* ref);
1159
1158 Handle<Symbol> SymbolFor(Heap::RootListIndex dictionary_index, 1160 Handle<Symbol> SymbolFor(Heap::RootListIndex dictionary_index,
1159 Handle<String> name, bool private_symbol); 1161 Handle<String> name, bool private_symbol);
1160 1162
1161 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); 1163 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback);
1162 void CountUsage(v8::Isolate::UseCounterFeature feature); 1164 void CountUsage(v8::Isolate::UseCounterFeature feature);
1163 1165
1164 BasicBlockProfiler* GetOrCreateBasicBlockProfiler(); 1166 BasicBlockProfiler* GetOrCreateBasicBlockProfiler();
1165 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; } 1167 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; }
1166 1168
1167 std::string GetTurboCfgFileName(); 1169 std::string GetTurboCfgFileName();
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
1809 1811
1810 EmbeddedVector<char, 128> filename_; 1812 EmbeddedVector<char, 128> filename_;
1811 FILE* file_; 1813 FILE* file_;
1812 int scope_depth_; 1814 int scope_depth_;
1813 }; 1815 };
1814 1816
1815 } // namespace internal 1817 } // namespace internal
1816 } // namespace v8 1818 } // namespace v8
1817 1819
1818 #endif // V8_ISOLATE_H_ 1820 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/inspector/v8-injected-script-host.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698