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

Unified Diff: courgette/adjustment_method.cc

Issue 2476863004: [Courgette] AssemblyProgram: Serialize data to single raw buffer, instead of storing pointer of obj… (Closed)
Patch Set: Sync and merge. 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 | courgette/adjustment_method_2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/adjustment_method.cc
diff --git a/courgette/adjustment_method.cc b/courgette/adjustment_method.cc
index d6718bc8d919add050c364381bd038c3c34d67ee..e0eb955e371bb891230d20a79f40f5edb0e984dd 100644
--- a/courgette/adjustment_method.cc
+++ b/courgette/adjustment_method.cc
@@ -602,9 +602,9 @@ class GraphAdjuster : public AdjustmentMethod {
base::Bind(&GraphAdjuster::ReferenceLabel, base::Unretained(this),
rel32, is_model);
- program->HandleInstructionLabels({{ABS32, abs32_handler},
- {REL32, rel32_handler},
- {REL32ARM, rel32_handler}});
+ program->HandleInstructionLabels({{AssemblyOp::ABS32, abs32_handler},
+ {AssemblyOp::REL32, rel32_handler},
+ {AssemblyOp::REL32ARM, rel32_handler}});
// TODO(sra): we could simply append all the labels in index order to
// incorporate some costing for entropy (bigger deltas) that will be
« no previous file with comments | « no previous file | courgette/adjustment_method_2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698