Skip to content

Instantly share code, notes, and snippets.

@mraleph
Created August 18, 2015 18:26
Show Gist options
  • Save mraleph/d78446bce110e2fb6aff to your computer and use it in GitHub Desktop.
Save mraleph/d78446bce110e2fb6aff to your computer and use it in GitHub Desktop.
After Optimizations
==== file:///usr/local/google/home/vegorov/Downloads/benchmark_mirrors.dart_::_testWithoutMirrors
0: B0[graph]:2 {
v0 <- Constant(#null) T{Null?}
v1 <- Constant(#<optimized out>)
v2 <- Constant(#Context@0x7f6422ac3461 num_variables: 0) T{Context}
v3 <- Parameter(0)
v4 <- Constant(#TypeArguments: [Type: class 'int']) T{TypeArguments}
v5 <- Constant(#1) [1, 1] T{_Smi}
v12 <- Constant(#true) T{bool}
v17 <- Constant(#3) [3, 3] T{_Smi}
v54 <- Constant(#false) T{bool}
v88 <- Constant(#0) [0, 0] T{_Smi}
v119 <- Constant(#-1) [-1, -1] T{_Smi}
v120 <- Constant(#4611686018427387903)
}
2: B16[target]:0
4: CheckStackOverflow:4()
6: PushArgument(v4)
8: PushArgument(v3)
10: PushArgument(v5)
12: v6 <- StaticCall:6( List.filled v4, v3, v5)
13: ParallelMove rax <- rax
14: CheckClass:8(v6 IC[1: _List@915557746 cnt:38 trgt:'[email protected]_iterator'])
16: v60 <- LoadField(v6 T{_List}, 8, immutable=0)
18: v94 <- LoadField(v6 T{_List}, 16, immutable=1) [0, 576460752303423487] T{_Smi}
20: ParallelMove rsi <- C, rbx <- C goto:28 B3
22: B3[join]:24 pred(B2, B16) {
v100 <- phi(v46, v88) alive [0, v94] T{_Smi}
v150 <- phi(v51 T{_Smi?}, v0) alive T{_Smi?}
}
24: CheckStackOverflow:26(depth 1)
26: Branch if RelationalOp:10(>=, v100, v94) T{bool} goto (4, 2)
28: B4[target]:20
29: ParallelMove rax <- C
30: Return:34(v0)
32: B2[target]:22
34: v51 <- LoadIndexed(v6 T{_List}, v100)
36: GuardFieldClass:30(_current@915557746 <nullable _Smi@915557746>, v51)
38: ParallelMove rsi <- rsi
38: v46 <- BinarySmiOp:34(+ [-o], v100, v5) [1, v94] T{_Smi}
40: ParallelMove rsi <- rsi, rbx <- rdi goto:30 B3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment