summaryrefslogtreecommitdiff
path: root/src/reply.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/reply.cc')
-rw-r--r--src/reply.cc9
1 files changed, 2 insertions, 7 deletions
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;
}