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

Unified Diff: unittest/BitcodeMunge.h

Issue 1848303003: Simplify references to command line flags. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 4 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 | « src/PNaClTranslator.cpp ('k') | unittest/BitcodeMunge.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: unittest/BitcodeMunge.h
diff --git a/unittest/BitcodeMunge.h b/unittest/BitcodeMunge.h
index 03c158156a311d2cc415151c22cfbe60fb25f1e3..e74ee1bc1ce8be5dd02ed4827f2ec79e98021150 100644
--- a/unittest/BitcodeMunge.h
+++ b/unittest/BitcodeMunge.h
@@ -33,8 +33,7 @@ class SubzeroBitcodeMunger : public llvm::NaClBitcodeMunger {
public:
SubzeroBitcodeMunger(const uint64_t Records[], size_t RecordSize,
uint64_t RecordTerminator)
- : llvm::NaClBitcodeMunger(Records, RecordSize, RecordTerminator),
- Flags(Ice::GlobalContext::Flags) {
+ : llvm::NaClBitcodeMunger(Records, RecordSize, RecordTerminator) {
resetMungeFlags();
}
@@ -50,9 +49,6 @@ public:
return runTest(NoMunges, 0, DisableTranslation);
}
- /// Flags to use to run tests. Use to change default assumptions.
- Ice::ClFlags &Flags;
-
private:
void resetMungeFlags();
};
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | unittest/BitcodeMunge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698