aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-16 11:00:50 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-16 11:00:50 -0700
commitce33f9c21230d619b2b5d42358592f204410eab4 (patch)
treedb3833edea5f4ad5599da9a6060b81946c9d7f20 /tools
parentcf2846e05a399598f128db8106a87bc30a8f0c2c (diff)
enable aliasing function pointers by default in -O2
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index cc056074..228f1253 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -676,6 +676,7 @@ class Settings:
Settings.EMIT_GENERATED_FUNCTIONS = 1
if opt_level >= 2:
Settings.RELOOP = 1
+ Settings.ALIASING_FUNCTION_POINTERS = 1
if opt_level >= 3:
# Aside from these, -O3 also runs closure compiler and llvm lto
Settings.FORCE_ALIGNED_MEMORY = 1