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

Unified Diff: src/IceTargetLowering.h

Issue 2619363003: Subzero, MIPS32: Atomic intrinsics fixes (Closed)
Patch Set: Created 3 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/IceCfg.cpp ('k') | src/IceTargetLoweringMIPS32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLowering.h
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
index 3de6965d60eb8b4949617f09fed5e6078718ff0a..aa3f0a237c770e08f7c2b6710c3654efa40b25ab 100644
--- a/src/IceTargetLowering.h
+++ b/src/IceTargetLowering.h
@@ -253,7 +253,9 @@ public:
virtual void reserveFixedAllocaArea(size_t Size, size_t Align) = 0;
virtual int32_t getFrameFixedAllocaOffset() const = 0;
virtual uint32_t maxOutArgsSizeBytes() const { return 0; }
-
+ virtual uint32_t getOffset(uint32_t CurrentOffset, uint32_t Size) const {
Jim Stichnoth 2017/01/11 04:55:54 I would prefer a more specific method name. Maybe
Stefan Maksimovic 2017/01/11 09:25:25 Done.
+ return -(CurrentOffset + Size);
+ }
/// Return whether a 64-bit Variable should be split into a Variable64On32.
virtual bool shouldSplitToVariable64On32(Type Ty) const = 0;
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceTargetLoweringMIPS32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698