Index: runtime/vm/object_store.h |
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h |
index 41076fe5c64c5447b0ce9a70851caf4e18f00b1c..c303c6c91836a1d8c3bd45ae6dd0ea402331a639 100644 |
--- a/runtime/vm/object_store.h |
+++ b/runtime/vm/object_store.h |
@@ -432,12 +432,21 @@ class ObjectStore { |
RawFunction* simple_instance_of_function() const { |
return simple_instance_of_function_; |
} |
+ void set_simple_instance_of_function(const Function& value) { |
+ simple_instance_of_function_ = value.raw(); |
+ } |
RawFunction* simple_instance_of_true_function() const { |
return simple_instance_of_true_function_; |
} |
+ void set_simple_instance_of_true_function(const Function& value) { |
+ simple_instance_of_true_function_ = value.raw(); |
+ } |
RawFunction* simple_instance_of_false_function() const { |
return simple_instance_of_false_function_; |
} |
+ void set_simple_instance_of_false_function(const Function& value) { |
+ simple_instance_of_false_function_ = value.raw(); |
+ } |
RawFunction* async_clear_thread_stack_trace() const { |
return async_clear_thread_stack_trace_; |
} |
@@ -450,28 +459,24 @@ class ObjectStore { |
} |
void set_async_set_thread_stack_trace(const Function& func) { |
async_set_thread_stack_trace_ = func.raw(); |
- ASSERT(async_set_thread_stack_trace_ != Object::null()); |
} |
RawFunction* async_star_move_next_helper() const { |
return async_star_move_next_helper_; |
} |
void set_async_star_move_next_helper(const Function& func) { |
async_star_move_next_helper_ = func.raw(); |
- ASSERT(async_star_move_next_helper_ != Object::null()); |
} |
RawFunction* complete_on_async_return() const { |
return complete_on_async_return_; |
} |
void set_complete_on_async_return(const Function& func) { |
complete_on_async_return_ = func.raw(); |
- ASSERT(complete_on_async_return_ != Object::null()); |
} |
RawClass* async_star_stream_controller() const { |
return async_star_stream_controller_; |
} |
void set_async_star_stream_controller(const Class& cls) { |
async_star_stream_controller_ = cls.raw(); |
- ASSERT(async_star_stream_controller_ != Object::null()); |
} |
// Visit all object pointers. |