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 2771753004: [Courgette] Refactor: Unify Disassembler::Disassemble() and instantiate AssemblyProgram there. (Closed)
Patch Set: Fix signed/unsigned comparison issue in test. Created 3 years, 9 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/BUILD.gn ('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 e3134438204b9df8d616f584cacccfd052eae9d7..b60af9c8f4a5e861aff8df03c5f49f57cfd5e92c 100644
--- a/courgette/adjustment_method_unittest.cc
+++ b/courgette/adjustment_method_unittest.cc
@@ -52,8 +52,8 @@ class AdjustmentMethodTest : public testing::Test {
Label* labelA = prog->FindAbs32Label(kRvaA);
Label* labelB = prog->FindAbs32Label(kRvaB);
- AssemblyProgram::InstructionGenerator gen = base::Bind(
- [](Label* labelA, Label* labelB, AssemblyProgram* prog,
+ InstructionGenerator gen = base::Bind(
+ [](Label* labelA, Label* labelB,
InstructionReceptor* receptor) -> CheckBool {
EXPECT_TRUE(receptor->EmitAbs32(labelA));
EXPECT_TRUE(receptor->EmitAbs32(labelA));
« no previous file with comments | « courgette/BUILD.gn ('k') | courgette/assembly_program.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698