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

Unified Diff: runtime/vm/kernel_to_il.h

Issue 2469703002: Implement instance field guards for kernel-based FlowGraphBuilder (Closed)
Patch Set: update status file Created 4 years, 1 month 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 | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel_to_il.h
diff --git a/runtime/vm/kernel_to_il.h b/runtime/vm/kernel_to_il.h
index 20b9aeb095a5375925acf16ea8e87875eb564567..4ad3ce142a7167f4b3220183b69d17bba8feee1c 100644
--- a/runtime/vm/kernel_to_il.h
+++ b/runtime/vm/kernel_to_il.h
@@ -708,6 +708,7 @@ class FlowGraphBuilder : public TreeVisitor {
Fragment StaticCall(const Function& target, intptr_t argument_count,
const Array& argument_names);
Fragment StoreIndexed(intptr_t class_id);
+ Fragment StoreInstanceFieldGuarded(const dart::Field& field);
Fragment StoreInstanceField(const dart::Field& field);
Fragment StoreInstanceField(intptr_t offset);
Fragment StoreLocal(LocalVariable* variable);
@@ -716,6 +717,8 @@ class FlowGraphBuilder : public TreeVisitor {
Fragment ThrowTypeError();
Fragment ThrowNoSuchMethodError();
Fragment BuildImplicitClosureCreation(const Function& target);
+ Fragment GuardFieldLength(const dart::Field& field, intptr_t deopt_id);
+ Fragment GuardFieldClass(const dart::Field& field, intptr_t deopt_id);
dart::RawFunction* LookupMethodByMember(Member* target,
const dart::String& method_name);
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698