Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 8291d7d

Browse files
committed
Merge pull request #110 from waywardmonkeys/fix-warning-jsbackend
Fix warning in JSBackend
2 parents 28f9612 + 53403b9 commit 8291d7d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Target/JSBackend/JSBackend.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -2406,7 +2406,6 @@ void JSWriter::generateExpression(const User *I, raw_string_ostream& Code) {
24062406

24072407
if (EnablePthreads) {
24082408
std::string Assign = getAssign(rmwi);
2409-
unsigned Bytes = DL->getTypeAllocSize(T);
24102409
std::string text;
24112410
const char *HeapName;
24122411
std::string Index = getHeapNameAndIndex(P, &HeapName);

0 commit comments

Comments
 (0)