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

Unified Diff: lib/Target/X86/X86Subtarget.h

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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 | « lib/Target/X86/X86SelectionDAGInfo.cpp ('k') | lib/Target/X86/X86Subtarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/X86/X86Subtarget.h
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h
index fda82cd689bb31591e3dcb4f443f8190ef0341ba..61c28e44b5483ee88dafdb5121b68b87a816adc7 100644
--- a/lib/Target/X86/X86Subtarget.h
+++ b/lib/Target/X86/X86Subtarget.h
@@ -332,6 +332,9 @@ public:
!TargetTriple.isOSNaCl());
}
+ // @LOCALMOD -- TODO(jvoung): try to use isTarget64BitLP64() instead.
+ bool has64BitPointers() const { return is64Bit() && !isTargetNaCl(); }
+
PICStyles::Style getPICStyle() const { return PICStyle; }
void setPICStyle(PICStyles::Style Style) { PICStyle = Style; }
« no previous file with comments | « lib/Target/X86/X86SelectionDAGInfo.cpp ('k') | lib/Target/X86/X86Subtarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698