@@ -156,7 +156,7 @@ impl ModuleInstance for JsInstance {
156156 params,
157157 log_traceback,
158158 |tx, op, budget| {
159- // TODO(centril ): snapshots, module->host calls
159+ // TODO(v8 ): snapshots, module->host calls
160160 // Setup V8 scope.
161161 let mut isolate: v8:: OwnedIsolate = Isolate :: new ( <_ >:: default ( ) ) ;
162162 let isolate_handle = isolate. thread_safe_handle ( ) ;
@@ -179,7 +179,7 @@ impl ModuleInstance for JsInstance {
179179 let energy = EnergyStats { budget, remaining } ;
180180 let timings = ExecutionTimings {
181181 total_duration,
182- // TODO(centril ): call times.
182+ // TODO(v8 ): call times.
183183 wasm_instance_env_call_times : CallTimes :: new ( ) ,
184184 } ;
185185
@@ -206,7 +206,7 @@ fn run_reducer_timeout(isolate_handle: IsolateHandle, budget: ReducerBudget) ->
206206 let execution_done_flag2 = execution_done_flag. clone ( ) ;
207207 let timeout = budget_to_duration ( budget) ;
208208
209- // TODO(centril ): Using an OS thread is a bit heavy handed...?
209+ // TODO(v8 ): Using an OS thread is a bit heavy handed...?
210210 thread:: spawn ( move || {
211211 // Sleep until the timeout.
212212 thread:: sleep ( timeout) ;
@@ -225,13 +225,13 @@ fn run_reducer_timeout(isolate_handle: IsolateHandle, budget: ReducerBudget) ->
225225}
226226
227227fn budget_to_duration ( _budget : ReducerBudget ) -> Duration {
228- // TODO(centril ): This is fake logic that allows a maximum timeout.
228+ // TODO(v8 ): This is fake logic that allows a maximum timeout.
229229 // Replace with sensible math.
230230 Duration :: MAX
231231}
232232
233233fn duration_to_budget ( _duration : Duration ) -> ReducerBudget {
234- // TODO(centril ): This is fake logic that allows minimum energy usage.
234+ // TODO(v8 ): This is fake logic that allows minimum energy usage.
235235 // Replace with sensible math.
236236 ReducerBudget :: ZERO
237237}
0 commit comments