diff options
-rw-r--r-- | lib/Target/JSBackend/JSBackend.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/JSBackend/JSBackend.cpp b/lib/Target/JSBackend/JSBackend.cpp index 8a811b6958..1673ea4503 100644 --- a/lib/Target/JSBackend/JSBackend.cpp +++ b/lib/Target/JSBackend/JSBackend.cpp @@ -2089,8 +2089,6 @@ void JSWriter::parseConstant(const std::string& name, const Constant* CV, bool c } else if (isa<ConstantAggregateZero>(CV)) { if (calculate) { unsigned Bytes = DL->getTypeStoreSize(CV->getType()); - // FIXME: assume full 64-bit alignment for now - Bytes = memAlign(Bytes); HeapData *GlobalData = allocateAddress(name); for (unsigned i = 0; i < Bytes; ++i) { GlobalData->push_back(0); |