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

Unified Diff: runtime/vm/intermediate_language.h

Issue 2293103002: VM: Remove unecessary dead code from flow-graph builder. (Closed)
Patch Set: Created 4 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/vm/flow_graph_builder.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
index 2dd071198d99d7fbdd3b82fa62554cb83388ccbd..779339122b52c72bb23b4ea902b9f8dbd0415fda 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -3260,7 +3260,6 @@ class StaticCallInstr : public TemplateDefinition<0, Throws> {
arguments_(arguments),
result_cid_(kDynamicCid),
is_known_list_constructor_(false),
- is_native_list_factory_(false),
identity_(AliasIdentity::Unknown()) {
ic_data_ = GetICData(ic_data_array);
ASSERT(function.IsZoneHandle());
@@ -3280,7 +3279,6 @@ class StaticCallInstr : public TemplateDefinition<0, Throws> {
arguments_(arguments),
result_cid_(kDynamicCid),
is_known_list_constructor_(false),
- is_native_list_factory_(false),
identity_(AliasIdentity::Unknown()) {
ASSERT(function.IsZoneHandle());
ASSERT(argument_names.IsZoneHandle() || argument_names.InVMHeap());
@@ -3326,13 +3324,8 @@ class StaticCallInstr : public TemplateDefinition<0, Throws> {
is_known_list_constructor_ = value;
}
- bool is_native_list_factory() const { return is_native_list_factory_; }
- void set_is_native_list_factory(bool value) {
- is_native_list_factory_ = value;
- }
-
bool IsRecognizedFactory() const {
- return is_known_list_constructor() || is_native_list_factory();
+ return is_known_list_constructor();
}
virtual AliasIdentity Identity() const { return identity_; }
@@ -3350,7 +3343,6 @@ class StaticCallInstr : public TemplateDefinition<0, Throws> {
// 'True' for recognized list constructors.
bool is_known_list_constructor_;
- bool is_native_list_factory_;
AliasIdentity identity_;
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698