aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jscomp.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2015-02-01 12:29:14 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2015-02-01 12:29:14 -0500
commiteab0e09b2b4d125abb98e088ff9a03581aa05717 (patch)
treedf37df1329c579861b6337d2de241d67084f9618 /src/jscomp.sml
parent2200a9e67a5e280406f55048dc03b5a8fd51d642 (diff)
A new MonoReduce optimization for lifting 'let' out of field projection; JavaScript compilation for exponentiation
Diffstat (limited to 'src/jscomp.sml')
-rw-r--r--src/jscomp.sml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jscomp.sml b/src/jscomp.sml
index 1a476739..3709bcd3 100644
--- a/src/jscomp.sml
+++ b/src/jscomp.sml
@@ -724,6 +724,8 @@ fun process (file : file) =
| "<" => "lt"
| "<=" => "le"
| "strcmp" => "strcmp"
+ | "powl" => "pow"
+ | "powf" => "pow"
| _ => raise Fail ("Jscomp: Unknown binary operator " ^ s)
val (e1, st) = jsE inner (e1, st)