diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-07-26 17:54:22 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-07-29 00:22:39 -0400 |
commit | 4d386e9e1c79d557cae6af58e6df85eb470c1e0c (patch) | |
tree | 2a5bda6620b2d68ea5f06e4c49c9b9a3ad4c76f2 /src/reply.cc | |
parent | 1f093c12f84d269cb68370262d68ff6d515aef2e (diff) |
Implement CodeCache
Diffstat (limited to 'src/reply.cc')
-rw-r--r-- | src/reply.cc | 9 |
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; } |