From 4d386e9e1c79d557cae6af58e6df85eb470c1e0c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 26 Jul 2018 17:54:22 -0400 Subject: Implement CodeCache --- src/reply.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/reply.cc') diff --git a/src/reply.cc b/src/reply.cc index 435f76f74..007f2c68b 100644 --- a/src/reply.cc +++ b/src/reply.cc @@ -63,16 +63,11 @@ void deno_handle_msg_from_js(Deno* d, deno_buf buf) { } case deno::Any_CodeCache: { - // TODO(ry) Call into rust. - /* + auto msg = base->msg_as_CodeCache(); auto filename = msg->filename()->c_str(); auto source_code = msg->source_code()->c_str(); auto output_code = msg->output_code()->c_str(); - printf( - "HandleCodeCache (not implemeneted) filename %s source_code %s " - "output_code %s\n", - filename, source_code, output_code); - */ + handle_code_cache(d, cmd_id, filename, source_code, output_code); break; } -- cgit v1.2.3