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

Unified Diff: src/IceInstX86Base.h

Issue 1651163002: Subzero. Enables moar complex relocation offsets. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: make format Created 4 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 | « src/IceGlobalContext.cpp ('k') | src/IceInstX86BaseImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstX86Base.h
diff --git a/src/IceInstX86Base.h b/src/IceInstX86Base.h
index d4dbe59149b949bc935bc8fbd493217af08c2037..3e63cb8a0959a3e4e0f7a23c7b9ed808eec57d32 100644
--- a/src/IceInstX86Base.h
+++ b/src/IceInstX86Base.h
@@ -337,13 +337,13 @@ template <typename TraitsType> struct InstImpl {
void emit(const Cfg *Func) const override;
void emitIAS(const Cfg *Func) const override;
void dump(const Cfg *Func) const override;
- void setIsReturnLocation(bool Value) { IsReturnLocation = Value; }
+ void setRelocOffset(RelocOffset *Value) { OffsetReloc = Value; }
private:
InstX86Label(Cfg *Func, TargetLowering *Target);
SizeT Number; // used for unique label generation.
- bool IsReturnLocation = false;
+ RelocOffset *OffsetReloc = nullptr;
};
/// Conditional and unconditional branch instruction.
« no previous file with comments | « src/IceGlobalContext.cpp ('k') | src/IceInstX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698