library #lib; | |
import self as self; | |
import "dart:core" as core; | |
[@vm.bytecode= | |
Bytecode { | |
Entry 0 | |
CheckStack 0 | |
PushConstant CP#0 | |
DirectCall 1, CP#1 | |
Drop1 | |
PushNull | |
ReturnTOS | |
} | |
ConstantPool { | |
[0] = ObjectRef 'Hello, Dart Bytecode!' | |
[1] = DirectCall 'dart:core::print', ArgDesc num-args 1, num-type-args 0, names [] | |
[2] = Reserved | |
} | |
]static method main() → dynamic { | |
core::print("Hello, Dart Bytecode!"); | |
} |