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

Unified Diff: src/IceTargetLoweringX8632.h

Issue 737513008: Subzero: Simplify the constant pools. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: More cleanup Created 6 years, 1 month 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
Index: src/IceTargetLoweringX8632.h
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h
index 74ba287767f2a99a0e6ffc3176d0c3e648f18ca3..920d4cdc9a3b032ef8ae5fbe1d1cfb5876fd6f94 100644
--- a/src/IceTargetLoweringX8632.h
+++ b/src/IceTargetLoweringX8632.h
@@ -161,11 +161,12 @@ protected:
Variable *makeReg(Type Ty, int32_t RegNum = Variable::NoRegister);
InstCall *makeHelperCall(const IceString &Name, Variable *Dest,
SizeT MaxSrcs) {
- bool SuppressMangling = true;
- const Type FunctionPointerType = IceType_i32;
- Constant *CallTarget =
- Ctx->getConstantSym(FunctionPointerType, 0, Name, SuppressMangling);
- InstCall *Call = InstCall::create(Func, MaxSrcs, Dest, CallTarget, false);
+ const bool SuppressMangling = true;
+ const bool HasTailCall = false;
+ const RelocOffsetT Offset = 0;
+ Constant *CallTarget = Ctx->getConstantSym(Offset, Name, SuppressMangling);
+ InstCall *Call =
+ InstCall::create(Func, MaxSrcs, Dest, CallTarget, HasTailCall);
return Call;
}
static Type stackSlotType();

Powered by Google App Engine
This is Rietveld 408576698