Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(651)

Unified Diff: runtime/observatory/tests/ui/inspector.dart

Issue 1316123004: Improve display of simd vector types and stack traces in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code review Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/ui/inspector.dart
diff --git a/runtime/observatory/tests/ui/inspector.dart b/runtime/observatory/tests/ui/inspector.dart
index 1befdf61cecaec344a7467ad0f95b5cc3758cc14..b133e915f7c11172fb1827bbf868423864285bd1 100644
--- a/runtime/observatory/tests/ui/inspector.dart
+++ b/runtime/observatory/tests/ui/inspector.dart
@@ -125,7 +125,10 @@ class Node {
mixedType = "2";
mixedType = false;
- array = [1, 2, 3];
+ array = new List(3);
+ array[0] = 1;
+ array[1] = 2;
+ array[2] = 3;
bigint = 1 << 65;
blockClean = genCleanBlock();
blockCopying = genCopyingBlock();
@@ -135,12 +138,12 @@ class Node {
counter = new Counter("CounterName", "Counter description");
expando = new Expando("expando-name");
expando[array] = 'The weakly associated value';
- float32x4 = new Float32x4.zero();
+ float32x4 = new Float32x4(0.0, -1.0, 3.14, 2e28);
float64 = 3.14;
- float64x2 = new Float64x2.zero();
- gauge = new Gauge("GuageName", "Guage description", 0.0, 100.0);
+ float64x2 = new Float64x2(0.0, 3.14);
+ gauge = new Gauge("GaugeName", "Gauge description", 0.0, 100.0);
growableList = new List();
- int32x4 = new Int32x4(0,0,0,0);
+ int32x4 = new Int32x4(0,1,10,11);
map = { "x-key": "x-value", "y-key": "y-value", "removed-key": "removed-value" };
map.remove("removed-key");
mint = 1 << 32;
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698