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

Unified Diff: runtime/vm/kernel_to_il.cc

Issue 2891053003: Add support for converted closures with explicit contexts to VM (Closed)
Patch Set: Update the code according to Martin's comments Created 3 years, 6 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
Index: runtime/vm/kernel_to_il.cc
diff --git a/runtime/vm/kernel_to_il.cc b/runtime/vm/kernel_to_il.cc
index f9f4e351199ec32af0e7bd1cf192853ce4f1f337..688b99602e7d883f8274cac3b7190a5fc4a258f7 100644
--- a/runtime/vm/kernel_to_il.cc
+++ b/runtime/vm/kernel_to_il.cc
@@ -2612,6 +2612,11 @@ void DartTypeTranslator::VisitVoidType(VoidType* node) {
}
+void DartTypeTranslator::VisitVectorType(VectorType* node) {
+ result_ = Object::vector_type().raw();
+}
+
+
void DartTypeTranslator::VisitBottomType(BottomType* node) {
result_ =
dart::Class::Handle(Z, I->object_store()->null_class()).CanonicalType();

Powered by Google App Engine
This is Rietveld 408576698