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

Unified Diff: runtime/vm/intermediate_language.h

Issue 2894913002: Revert "VM: Constant fold more loads from constants in the optimizer." (Closed)
Patch Set: Created 3 years, 7 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/constant_propagator.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 aa741d1a4a8f33695f68adfa89cb61a7e759fcc0..eadb8e96605e28a55d79b461ff85d78dd35fa46f 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -4555,13 +4555,6 @@ class LoadFieldInstr : public TemplateDefinition<1, NoThrow> {
bool IsImmutableLengthLoad() const;
- // Try evaluating this load against the given constant value of
- // the instance. Returns true if evaluation succeeded and
- // puts result into result.
- // Note: we only evaluate loads when we can ensure that
- // instance has the field.
- bool Evaluate(const Object& instance_value, Object* result);
-
virtual Definition* Canonicalize(FlowGraph* flow_graph);
static MethodRecognizer::Kind RecognizedKindFromArrayCid(intptr_t cid);
« no previous file with comments | « runtime/vm/constant_propagator.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698