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

Unified Diff: lib/Target/X86/X86ISelLowering.cpp

Issue 858393002: Remove unused variable warning (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/X86/X86ISelLowering.cpp
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 8bc1521bdbf9f40e031922b363f0a45005599433..511cea19e224d5860d380dfb62ff7d1dbf5da52b 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -266,6 +266,7 @@ void X86TargetLowering::resetOperationActions() {
setSchedulingPreference(Sched::RegPressure);
const X86RegisterInfo *RegInfo =
static_cast<const X86RegisterInfo*>(TM.getRegisterInfo());
+ (void)RegInfo; // @LOCALMOD
setStackPointerRegisterToSaveRestore(X86StackPtr); // @LOCALMOD
// Bypass expensive divides on Atom when compiling with O2
@@ -13323,6 +13324,7 @@ X86TargetLowering::LowerDYNAMIC_STACKALLOC(SDValue Op,
const X86RegisterInfo *RegInfo =
static_cast<const X86RegisterInfo*>(DAG.getTarget().getRegisterInfo());
+ (void)RegInfo; // @LOCALMOD
unsigned SPReg = X86StackPtr; // @LOCALMOD
SDValue SP = DAG.getCopyFromReg(Chain, dl, SPReg, SPTy);
Chain = SP.getValue(1);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698