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

Unified Diff: courgette/adjustment_method_unittest.cc

Issue 2793153003: [Courgette] Refactor: Store Label Annotation in AssemblyProgram for patch generation. (Closed)
Patch Set: Rename *_label_annotation to *_label_annotations. Created 3 years, 8 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 | « courgette/adjustment_method_2.cc ('k') | courgette/assembly_program.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/adjustment_method_unittest.cc
diff --git a/courgette/adjustment_method_unittest.cc b/courgette/adjustment_method_unittest.cc
index b60af9c8f4a5e861aff8df03c5f49f57cfd5e92c..bf42f4ac612d0852220aaad697bacb656a331e99 100644
--- a/courgette/adjustment_method_unittest.cc
+++ b/courgette/adjustment_method_unittest.cc
@@ -65,7 +65,9 @@ class AdjustmentMethodTest : public testing::Test {
},
labelA, labelB);
- EXPECT_TRUE(prog->GenerateInstructions(gen));
+ EXPECT_TRUE(prog->GenerateInstructions(gen, true));
+ EXPECT_EQ(6U, prog->abs32_label_annotations().size());
+ EXPECT_EQ(0U, prog->rel32_label_annotations().size());
if (kind == 0) {
labelA->index_ = 0;
« no previous file with comments | « courgette/adjustment_method_2.cc ('k') | courgette/assembly_program.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698