From 54094c7510042fd73bba3cb96407587c62db3166 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 19 Feb 2019 02:42:15 +1100 Subject: Rationalise compiler ops (#1740) --- src/msg.fbs | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'src/msg.fbs') diff --git a/src/msg.fbs b/src/msg.fbs index 81345d156..fcf29ad58 100644 --- a/src/msg.fbs +++ b/src/msg.fbs @@ -6,9 +6,8 @@ union Any { WorkerGetMessage, WorkerGetMessageRes, WorkerPostMessage, - CodeFetch, - CodeFetchRes, - CodeCache, + FetchModuleMetaData, + FetchModuleMetaDataRes, SetTimeout, Exit, Environ, @@ -186,28 +185,19 @@ table WorkerPostMessage { // data passed thru the zero-copy data parameter. } -table CodeFetch { +table FetchModuleMetaData { specifier: string; referrer: string; } -table CodeFetchRes { +table FetchModuleMetaDataRes { // If it's a non-http module, moduleName and filename will be the same. // For http modules, moduleName is its resolved http URL, and filename // is the location of the locally downloaded source code. module_name: string; filename: string; media_type: MediaType; - // TODO These should be [ubyte]. - // See: https://github.com/denoland/deno/issues/1113 - source_code: string; -} - -table CodeCache { - filename: string; - source_code: string; - output_code: string; - source_map: string; + data: [ubyte]; } table Chdir { -- cgit v1.2.3