aboutsummaryrefslogtreecommitdiff
path: root/src/lux/optimizer.clj
diff options
context:
space:
mode:
authorEduardo Julian2015-07-19 22:32:08 -0400
committerEduardo Julian2015-07-19 22:32:08 -0400
commitf5e3afe5a5337b5dc840ed0fd6a76244cf0aac6b (patch)
tree976621b588837823e22ddb81ff51c9c82f69102f /src/lux/optimizer.clj
parent50366bad3ecf961fdfdbb1e4d8436794d97ae763 (diff)
Added copyright notice on all files that missed it.
Diffstat (limited to '')
-rw-r--r--src/lux/optimizer.clj9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lux/optimizer.clj b/src/lux/optimizer.clj
index 8b97b6ebb..5056a09e0 100644
--- a/src/lux/optimizer.clj
+++ b/src/lux/optimizer.clj
@@ -1,3 +1,11 @@
+;; Copyright (c) Eduardo Julian. All rights reserved.
+;; The use and distribution terms for this software are covered by the
+;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
+;; which can be found in the file epl-v10.html at the root of this distribution.
+;; By using this software in any fashion, you are agreeing to be bound by
+;; the terms of this license.
+;; You must not remove this notice, or any other, from this software.
+
(ns lux.optimizer
(:require [lux.analyser :as &analyser]))
@@ -12,7 +20,6 @@
;; Pre-compute constant expressions: Find function calls for which all arguments are known at compile-time and pre-calculate everything prior to compilation.
;; Convert pattern-matching on booleans into regular if-then-else structures
;; Local var aliasing.
-;; Global var aliasing.
;; [Exports]
(defn optimize [eval! compile-module]