Files
sdk/pkg/vm/testcases/bytecode/deferred_lib.dart.expect
T
Alexander Markov 1d10e037ef [vm/bytecode] Remove unreachable bytecode
Change-Id: I29393604547038cf359b8e19ea48078dd0eea3b1
Reviewed-on: https://dart-review.googlesource.com/c/81201
Reviewed-by: Zach Anderson <zra@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Auto-Submit: Alexander Markov <alexmarkov@google.com>
2018-10-23 23:26:13 +00:00

50 lines
1.2 KiB
Plaintext

library #lib;
import self as self;
import "./hello.dart" as hel;
[@vm.bytecode=
Bytecode (version: stable) {
Entry 1
CheckStack
PushNull
PushConstant CP#1
IndirectStaticCall 1, CP#0
PopLocal r0
PushConstant CP#3
IndirectStaticCall 0, CP#2
ReturnTOS
}
ConstantPool {
[0] = ArgDesc num-args 1, num-type-args 0, names []
[1] = StaticICData target 'dart.async::Future::value', arg-desc CP#0
[2] = ArgDesc num-args 0, num-type-args 0, names []
[3] = StaticICData target '#lib1::main', arg-desc CP#2
}
]static method callDeferred() → dynamic
return let final dynamic #t1 = CheckLibraryIsLoaded(lib) in hel::main();
[@vm.bytecode=
Bytecode (version: stable) {
Entry 0
CheckStack
PushNull
PushConstant CP#1
IndirectStaticCall 1, CP#0
ReturnTOS
}
ConstantPool {
[0] = ArgDesc num-args 1, num-type-args 0, names []
[1] = StaticICData target 'dart.async::Future::value', arg-desc CP#0
}
]static method testLoadLibrary() → dynamic
return LoadLibrary(lib);
[@vm.bytecode=
Bytecode (version: stable) {
Entry 0
CheckStack
PushNull
ReturnTOS
}
ConstantPool {
}
]static method main() → dynamic {}