Improve inlining where locals can be aliased; Add a crude mechanism for explicit unchecked array accesses

The `unchecked` builtin should be handled with ultimate care and it would be a lot better if there'd be a mechanism doing this automatically.
This commit is contained in:
dcodeIO
2018-04-25 05:04:35 +02:00
parent 391db28fe2
commit 6d6d1dddcf
47 changed files with 5374 additions and 15672 deletions

View File

@ -83,6 +83,8 @@ export declare function abort(
columnNumber?: u32
): void;
export declare function unchecked<T>(expr: T): T;
export declare function i8(value: void): i8;
export namespace i8 {
export const MIN_VALUE: i8 = -128;