aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-02 15:50:01 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-02 15:50:21 -0700
commit4f6975f249d2f8eaabe66dd8bee5146cd9d74d28 (patch)
tree938e97cf9efe3090947e4102506b0cb62279087b
parentc45334e5d31a6ff642d58ff5dc374e7aa5f51ab8 (diff)
comment on FUNCTION_POINTER_ALIGNMENT
-rw-r--r--src/settings.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index 3eb43f1c..7a9e6b76 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -173,6 +173,9 @@ var ALIASING_FUNCTION_POINTERS = 0; // Whether to allow function pointers to ali
var FUNCTION_POINTER_ALIGNMENT = 2; // Byte alignment of function pointers - we will fill the
// tables with zeros on aligned values. 1 means all values
// are aligned and all will be used (which is optimal).
+ // Sadly 1 breaks on &Class::method function pointer calls,
+ // which llvm assumes have the lower bit zero (see
+ // test_polymorph and issue #1692).
var ASM_HEAP_LOG = 0; // Simple heap logging, like SAFE_HEAP_LOG but cheaper, and in asm.js