summaryrefslogtreecommitdiff
path: root/src/c-writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/c-writer.cc')
-rw-r--r--src/c-writer.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/c-writer.cc b/src/c-writer.cc
index d4381a6e..d143eeb3 100644
--- a/src/c-writer.cc
+++ b/src/c-writer.cc
@@ -48,9 +48,7 @@ struct Label {
type_stack_size(type_stack_size),
used(used) {}
- bool HasValue() const {
- return !sig.empty();
- }
+ bool HasValue() const { return !sig.empty(); }
LabelType label_type;
const std::string& name;
@@ -636,7 +634,8 @@ void CWriter::Write(const GotoLabel& goto_label) {
Index offset = type_stack_.size() - label->type_stack_size - amount;
if (offset != 0) {
for (Index i = 0; i < amount; ++i) {
- Write(StackVar(amount - i - 1 + offset, label->sig[i]), " = ", StackVar(amount - i - 1), "; ");
+ Write(StackVar(amount - i - 1 + offset, label->sig[i]), " = ",
+ StackVar(amount - i - 1), "; ");
}
}
}
@@ -844,7 +843,6 @@ void CWriter::WriteMultivalueTypes() {
}
}
-
void CWriter::WriteFuncTypes() {
Write(Newline());
Writef("static u32 func_types[%" PRIzd "];", module_->types.size());