Compare commits

..

No commits in common. "4ea14ca1f5be127a3fd48098ad4f063defe8b869" and "0b6484e0b49e21fe0f60d231e6be9ac57046f964" have entirely different histories.

4 changed files with 3 additions and 8 deletions

View File

@ -7,7 +7,7 @@ const nodeResolve = require("@rollup/plugin-node-resolve");
const json = require("@rollup/plugin-json"); const json = require("@rollup/plugin-json");
const { resolve } = require("path"); const { resolve } = require("path");
const shouldMinify = () => true; const shouldMinify = () => false;
const shouldEmitSourcemaps = () => true; const shouldEmitSourcemaps = () => true;
const shouldPolyfill = () => !!process.env.POLYFILLS; const shouldPolyfill = () => !!process.env.POLYFILLS;
@ -99,7 +99,6 @@ const construct = (input, output) => defineConfig({
shouldMinify() && terser({ shouldMinify() && terser({
sourceMap: shouldEmitSourcemaps(), sourceMap: shouldEmitSourcemaps(),
keep_classnames: true, keep_classnames: true,
keep_fnames: true,
}), }),
], ],
output: { output: {

View File

@ -40,7 +40,7 @@ public final class Engine implements EventLoop {
try { try {
((Task<Object>)task).notifier.complete(task.runnable.get()); ((Task<Object>)task).notifier.complete(task.runnable.get());
} }
catch (CancellationException e) { task.notifier.cancel(false); throw e; } catch (CancellationException e) { throw e; }
catch (RuntimeException e) { task.notifier.completeExceptionally(e); } catch (RuntimeException e) { task.notifier.completeExceptionally(e); }
} }
catch (InterruptedException | CancellationException e) { catch (InterruptedException | CancellationException e) {

View File

@ -213,9 +213,7 @@ public final class Frame {
catch (StackOverflowError e) { throw STACK_OVERFLOW; } catch (StackOverflowError e) { throw STACK_OVERFLOW; }
catch (EngineException e) { error = e; } catch (EngineException e) { error = e; }
catch (RuntimeException e) { catch (RuntimeException e) {
if (!(e instanceof CancellationException)) { System.out.println(dbg.getMapOrEmpty(function).toLocation(codePtr, true));
System.out.println(dbg.getMapOrEmpty(function).toLocation(codePtr, true));
}
throw e; throw e;
} }
} }

View File

@ -17,8 +17,6 @@
/// <reference path="./globals/weak-map.d.ts"/> /// <reference path="./globals/weak-map.d.ts"/>
declare function print(...args: any[]): void; declare function print(...args: any[]): void;
declare function exit(): never;
declare function measure(func: () => void): void;
declare type IArguments = Array<any>; declare type IArguments = Array<any>;