Skip to content

Commit a060778

Browse files
committed
simplify a bit
1 parent a007209 commit a060778

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,12 +1267,11 @@ bool WebAssemblyLowerEmscriptenEHSjLj::runSjLjOnFunction(Function &F) {
12671267
DebugLoc FirstDL = getOrCreateDebugLoc(&*Entry->begin(), F.getSubprogram());
12681268
SplitBlock(Entry, &*Entry->getFirstInsertionPt());
12691269

1270-
Instruction *FunctionInvocationId;
12711270
IRB.SetInsertPoint(Entry->getTerminator()->getIterator());
12721271
// This alloca'ed pointer is used by the runtime to identify function
12731272
// invocations. It's just for pointer comparisons. It will never be
12741273
// dereferenced.
1275-
FunctionInvocationId =
1274+
Instruction *FunctionInvocationId =
12761275
IRB.CreateAlloca(IRB.getInt32Ty(), nullptr, "functionInvocationId");
12771276
FunctionInvocationId->setDebugLoc(FirstDL);
12781277

0 commit comments

Comments
 (0)