aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-23 17:49:34 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-23 17:49:34 -0800
commit3b94f5d8d589a57fa0b7b37cbeccb7ac62798311 (patch)
treee3804fce4d01ed2da07ea1e694f25d0a184fa69b
parent76a81417feb8297e33ebca5982b90ac9ab3032f0 (diff)
comment
-rw-r--r--src/preamble.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 24359b18..cb17addc 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -362,6 +362,7 @@ function assert(condition, text) {
// makeSetValue is done at compile-time and generates the needed
// code then, whereas this function picks the right code at
// run-time.
+// Note that setValue and getValue only do *aligned* writes and reads!
function setValue(ptr, value, type, noSafe) {
type = type || 'i8';