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

Unified Diff: pkg/kernel/binary.md

Issue 2767773004: Add Vector type to Kernel (Closed)
Patch Set: Reformat comment with Markdown, throw exception in type propagation Created 3 years, 9 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 | « no previous file | pkg/kernel/lib/ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/binary.md
diff --git a/pkg/kernel/binary.md b/pkg/kernel/binary.md
index 8e4bed8b75f5e38ae996b7f3aab50aac9260b37d..93e457846f4ac1010067995e234b7690f7e21260 100644
--- a/pkg/kernel/binary.md
+++ b/pkg/kernel/binary.md
@@ -660,6 +660,29 @@ type CheckLibraryIsLoaded extends Expression {
DeferredImportReference import;
}
+type VectorCreation extends Expression {
+ Byte tag = 102;
+ UInt length;
+}
+
+type VectorGet extends Expression {
+ Byte tag = 103;
+ Expression vectorExpression;
+ UInt index;
+}
+
+type VectorSet extends Expression {
+ Byte tag = 104;
+ Expression vectorExpression;
+ UInt index;
+ Expression value;
+}
+
+type VectorCopy extends Expression {
+ Byte tag = 105;
+ Expression vectorExpression;
+}
+
abstract type Statement extends Node {}
type InvalidStatement extends Statement {
@@ -916,6 +939,10 @@ type TypeParameterType extends DartType {
UInt index;
}
+type VectorType extends DartType {
+ Byte tag = 88;
+}
+
type TypeParameter {
// Note: there is no tag on TypeParameter
StringReference name; // Cosmetic, may be empty, not unique.
« no previous file with comments | « no previous file | pkg/kernel/lib/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698