cb7341fceb
This starts tracking inlining data and records it as an extension to source-map files so we are able to expand inlined calls when deobfuscating production stack traces. Change-Id: I46daf21c2f42305b2bd6ca17fbafb65226355096 Reviewed-on: https://dart-review.googlesource.com/67083 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
21 lines
307 B
Dart
21 lines
307 B
Dart
import 'package:expect/expect.dart';
|
|
|
|
class MyClass {}
|
|
|
|
@NoInline()
|
|
method3() {
|
|
/*4:method3*/ throw new MyClass();
|
|
}
|
|
|
|
method2() => /*3:method2*/ method3();
|
|
method4() {
|
|
/*2:method4(inlined)*/ method2();
|
|
}
|
|
|
|
method1() {
|
|
print('hi');
|
|
/*1:method1(inlined)*/ method4();
|
|
}
|
|
|
|
main() => /*0:main*/ method1();
|