summaryrefslogtreecommitdiff
path: root/src/passes/LowerIfElse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/LowerIfElse.cpp')
-rw-r--r--src/passes/LowerIfElse.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/passes/LowerIfElse.cpp b/src/passes/LowerIfElse.cpp
index 1b8376ea4..711f5469c 100644
--- a/src/passes/LowerIfElse.cpp
+++ b/src/passes/LowerIfElse.cpp
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2015 WebAssembly Community Group participants
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
//
// Lowers if (x) y else z into
//
@@ -46,4 +62,3 @@ struct LowerIfElse : public Pass {
static RegisterPass<LowerIfElse> registerPass("lower-if-else", "lowers if-elses into ifs, blocks and branches");
} // namespace wasm
-