1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00

remove TODO

This commit is contained in:
Divy Srivastava 2022-10-28 08:52:33 +05:30 committed by GitHub
parent a4d4acd1af
commit b5f73a6258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,10 +107,6 @@ pub fn initialize_context<'s>(
// Snapshot already registered `Deno.core.ops` but // Snapshot already registered `Deno.core.ops` but
// extensions may provide ops that aren't part of the snapshot. // extensions may provide ops that aren't part of the snapshot.
//
// TODO(@littledivy): This is extra complexity for
// a really weird usecase. Remove this once all
// tsc ops are static at snapshot time.
if snapshot_loaded { if snapshot_loaded {
// Grab the Deno.core.ops object & init it // Grab the Deno.core.ops object & init it
let ops_obj = JsRuntime::grab_global::<v8::Object>(scope, "Deno.core.ops") let ops_obj = JsRuntime::grab_global::<v8::Object>(scope, "Deno.core.ops")