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