6e6ffa12a6
- New module ":compiler:backend.wasm"
- Initial compiler infra (driver, phaser, context)
- Subset of Wasm AST
- Skeleton of IR -> Wasm AST
- Wasm AST -> WAT transformer
- Testing infra
- SpiderMonkey jsshell tool
8 lines
132 B
Kotlin
Vendored
8 lines
132 B
Kotlin
Vendored
|
|
fun equals1(a: Double, b: Double) = a.equals(b)
|
|
|
|
fun box(): String {
|
|
if ((-0.0).equals(0.0)) return "fail 0"
|
|
return "OK"
|
|
}
|