Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/6619be2b72820b40c8afe95fcf9cabb45d85130d
...commit
http://git.netsurf-browser.org/netsurf.git/commit/6619be2b72820b40c8afe95fcf9cabb45d85130d
...tree
http://git.netsurf-browser.org/netsurf.git/tree/6619be2b72820b40c8afe95fcf9cabb45d85130d
The branch, master has been updated
via 6619be2b72820b40c8afe95fcf9cabb45d85130d (commit)
from 341c22d2a593040c558de5f9b82d3f740207d82f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=6619be2b72820b40c8afe95fcf9cabb45d85130d
commit 6619be2b72820b40c8afe95fcf9cabb45d85130d
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Duktape: Attempt to squash aarch64 cast increases required alignment
warnings.
content/handlers/javascript/duktape/duktape.c: In function
'duk_resolve_nonbound_function':
content/handlers/javascript/duktape/duktape.c:14585:25: error: cast
increases required alignment of target type [-Werror=cast-align]
duk_push_tval(thr, &((duk_hboundfunc *) h)->target);
^
content/handlers/javascript/duktape/duktape.c: In function
'duk_bi_function_prototype_bind':
content/handlers/javascript/duktape/duktape.c:32399:20: error: cast
increases required alignment of target type [-Werror=cast-align]
h_boundtarget = (duk_hboundfunc *) h_target;
^
content/handlers/javascript/duktape/duktape.c: In function
'duk_free_hobject':
content/handlers/javascript/duktape/duktape.c:46048:23: error: cast
increases required alignment of target type [-Werror=cast-align]
duk_hboundfunc *f = (duk_hboundfunc *) h;
^
content/handlers/javascript/duktape/duktape.c: In function
'duk__mark_hobject':
content/handlers/javascript/duktape/duktape.c:47865:23: error: cast
increases required alignment of target type [-Werror=cast-align]
duk_hboundfunc *f = (duk_hboundfunc *) h;
^
content/handlers/javascript/duktape/duktape.c: In function
'duk_hobject_refcount_finalize_norz':
content/handlers/javascript/duktape/duktape.c:49842:23: error: cast
increases required alignment of target type [-Werror=cast-align]
duk_hboundfunc *f = (duk_hboundfunc *) h;
^
content/handlers/javascript/duktape/duktape.c: In function
'duk__handle_bound_chain_for_call':
content/handlers/javascript/duktape/duktape.c:61509:14: error: cast
increases required alignment of target type [-Werror=cast-align]
h_bound = (duk_hboundfunc *) func;
^
content/handlers/javascript/duktape/duktape.c: In function
'duk_js_instanceof':
content/handlers/javascript/duktape/duktape.c:78117:24: error: cast
increases required alignment of target type [-Werror=cast-align]
duk_push_tval(thr, &((duk_hboundfunc *) func)->target);
^
diff --git a/content/handlers/javascript/duktape/duktape.c
b/content/handlers/javascript/duktape/duktape.c
index 3139b69..0bde7d4 100644
--- a/content/handlers/javascript/duktape/duktape.c
+++ b/content/handlers/javascript/duktape/duktape.c
@@ -6663,7 +6663,13 @@ struct duk_hobject {
duk_uint32_t h_size; /* hash part size or 0 if unused */
#endif
#endif
-};
+}
+#if (DUK_USE_ALIGN_BY == 8) && defined(DUK_USE_PACK_GCC_ATTR)
+__attribute__ ((aligned (8)))
+#elif (DUK_USE_ALIGN_BY == 8) && defined(DUK_USE_PACK_CLANG_ATTR)
+__attribute__ ((aligned (8)))
+#endif
+;
/*
* Exposed data
-----------------------------------------------------------------------
Summary of changes:
content/handlers/javascript/duktape/duktape.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/content/handlers/javascript/duktape/duktape.c
b/content/handlers/javascript/duktape/duktape.c
index 3139b69..0bde7d4 100644
--- a/content/handlers/javascript/duktape/duktape.c
+++ b/content/handlers/javascript/duktape/duktape.c
@@ -6663,7 +6663,13 @@ struct duk_hobject {
duk_uint32_t h_size; /* hash part size or 0 if unused */
#endif
#endif
-};
+}
+#if (DUK_USE_ALIGN_BY == 8) && defined(DUK_USE_PACK_GCC_ATTR)
+__attribute__ ((aligned (8)))
+#elif (DUK_USE_ALIGN_BY == 8) && defined(DUK_USE_PACK_CLANG_ATTR)
+__attribute__ ((aligned (8)))
+#endif
+;
/*
* Exposed data
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org