Ben Noordhuis
a08f8e28ca
build: add x32 support
This commit adds preliminary x32 support. Configure with:
$ ./configure --dest-cpu=x32
PR-URL: https://github.com/node-forward/node/pull/24
Reviewed-By: Fedor Indutny <fedor@indutny.com>
10 years ago
Ben Noordhuis
7af8870af9
deps: fix v8 x32 build
Fix double definition errors in the libv8_base.a library target by
compiling out stub functions when building for x32.
This fix is incomplete because, although V8 now builds, it makes a
number of bad assumptions about the size of stack slots, see
https://code.google.com/p/v8/issues/detail?id=3630 .
PR-URL: https://github.com/node-forward/node/pull/24
Reviewed-By: Fedor Indutny <fedor@indutny.com>
10 years ago
Refael Ackermann
b2e519983f
deps: fix postmortem-metadata generator in v8
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/joyent/node/pull/8476
10 years ago
Fedor Indutny
6bcea4ff93
deps: update v8 to 3.29.93.1
10 years ago
Julien Gilli
011319e248
build: fix build for SmartOS
This change in V8: https://code.google.com/p/v8/source/detail?r=22210
has introduced a method named OS::GetCurrentThreadId which fails to
compile on OSes where a "gettid" syscall does not exist.
This build issue has been fixed upstream by another change:
https://code.google.com/p/v8/source/detail?r=23459 . This commit
integrates this fix. It's still not clear if this is good enough for the
long term, see https://code.google.com/p/v8/issues/detail?id=3620 for
more information.
The other build issue was due to the fact that alloca.h is not included
by other system includes on SmartOS, which is assumed by V8.
PR-URL: https://github.com/joyent/node/pull/8534
Reviewed-By: Fedor Indutny <fedor@indutny.com>
10 years ago
Fedor Indutny
7a0cfe9b11
deps: re-implement debugger-agent
Reviewed-By: Trevor Norris <trevnorris@gmail.com>
PR-URL: https://github.com/joyent/node/pull/8476
10 years ago
Refael Ackermann
8efcc7f456
deps: fix postmortem-metadata generator in v8
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/joyent/node/pull/8476
10 years ago
Fedor Indutny
270e998c90
deps: apply floating irhydra patch to v8
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/joyent/node/pull/8476
10 years ago
Refael Ackermann
9116b240c9
deps: update v8 to 3.28.73
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/joyent/node/pull/8476
10 years ago
Fedor Indutny
6a610a0f67
deps: re-implement debugger-agent
Reviewed-By: Trevor Norris <trevnorris@gmail.com>
PR-URL: https://github.com/joyent/node/pull/8476
10 years ago
Refael Ackermann
d71dd638c6
deps: fix postmortem-metadata generator in v8
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/joyent/node/pull/8476
10 years ago
Fedor Indutny
0e1320552b
deps: apply floating irhydra patch to v8
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/joyent/node/pull/8476
10 years ago
Refael Ackermann
939278ac05
deps: update v8 to 3.28.73
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/joyent/node/pull/8476
10 years ago
Timothy J Fontaine
9fad8958df
deps: upgrade npm to 2.0.0
10 years ago
Fedor Indutny
7fd35e6ea4
uv: apply floating patch 2f54947b
10 years ago
Fedor Indutny
c5f5d4cd11
deps: update uv to v1.0.0-rc1
10 years ago
Timothy J Fontaine
daca803e9e
npm: Update to 1.4.28
10 years ago
Fedor Indutny
630f0c4660
deps: backport 60c316 from v8 trunk
Original commit message:
Extend the interceptor setter ASSERT to support the JSGlobalProxy case.
BUG=v8:3463
LOG=n
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/415973004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22589 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Signed-off-by: Fedor Indutny <fedor@indutny.com>
fix #7969
11 years ago
Fedor Indutny
f3836af2f8
gyp: fix post-mortem in v0.11
Expose missing constants and keep symbols on OSX.
11 years ago
Ben Noordhuis
8d9493c315
deps: cherry-pick r21466 from v8 trunk
Check for cached transition to ExternalArray elements kind.
See [1] and [2] for details.
[1] https://code.google.com/p/v8/issues/detail?id=3337
[2] https://codereview.chromium.org/291193011
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Ben Noordhuis
b8a8e5558d
deps: cherry-pick r21297 from v8 trunk
Changes the return value of PropertyCallbackInfo<T>::This() from
Local<Value> back to Local<Object>. See [1] and [2] for background.
[1] https://groups.google.com/forum/#!topic/v8-users/wP2UcQ4cBW4
[2] https://codereview.chromium.org/285643008/
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Ben Noordhuis
6f07d2fa1b
deps: fix up v8 postmortem codegen
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Trevor Norris
f9ce97084c
v8: Upgrade 3.26.33 with 14 patches
V8 3.26.31 has received 14 patches since the upgrade to 3.26.33. Since
3.26.33 is technically a tag on the 3.27 branch, reverting back to
3.26.31 would remove now default functionality like WeakMaps. Because of
that the patches have simply been cherry-picked and squashed.
Here is a summary of all patches:
* Fix index register assignment in LoadFieldByIndex for arm, arm64, and
mips.
* Fix invalid attributes when generalizing because of incompatible map
change.
* Skip write barriers when updating the weak hash table.
* MIPS: Avoid HeapObject check in HStoreNamedField.
* Do GC if CodeRange fails to allocate a block.
* Array.concat: properly go to dictionary mode when required.
* Keep CodeRange::current_allocation_block_index_ in range.
* Grow heap slower if GC freed many global handles.
* Do not eliminate bounds checks for "<const> - x".
* Add missing map check to optimized f.apply(...).
* In GrowMode, force the value to the right representation to avoid
deopts between storing the length and storing the value.
* Reduce max executable size limit.
* Fix invalid condition in check elimination effects.
* Fix off-by-one error in Array.concat slow mode check.
For more information see: https://github.com/v8/v8/commits/3.26
Reviewed-By: Fedor Indutny <fedor@indutny.com>
10 years ago
Fedor Indutny
627c1a92eb
configure: add --openssl-no-asm flag
see #8062
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
10 years ago
Fedor Indutny
ada85d7307
deps: enable ARM assembly for OpenSSL
fix #8062
10 years ago
Fedor Indutny
3122e0eae6
deps: fix up v8 after fd80a3
fd80a31e06
has introduced a segfault
during redundant boundary check elimination (#8208 ).
The problem consists of two parts:
1. Abscense of instruction iterator in
`EliminateRedundantBoundsChecks`. It was present in recent v8, but
wasn't considered important at the time of backport. However, since
the function is changing instructions order in block, it is
important to not rely at `i->next()` at the end of the loop.
2. Too strict ASSERT in `MoveIndexIfNecessary`. It is essentially a
backport of a45c96ab from v8's upstream. See
https://github.com/v8/v8/commit/a45c96ab for details.
fix #8208
11 years ago
Timothy J Fontaine
6a11bfe74b
npm: Update to v1.4.23
11 years ago
Fedor Indutny
ffd0116eda
Revert "gyp: preserve v8dbg syms on freebsd too"
This reverts commit 181b8a5d3a
.
11 years ago
Fedor Indutny
181b8a5d3a
gyp: preserve v8dbg syms on freebsd too
11 years ago
Fedor Indutny
fd80a31e06
deps: backport 5f836c from v8 upstream
Original commit message:
Fix Hydrogen bounds check elimination
When combining bounds checks, they must all be moved before the first load/store
that they are guarding.
BUG=chromium:344186
LOG=y
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/172093002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@19475 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
fix #8070
11 years ago
Fedor Indutny
6b97c2e986
openssl: fix keypress requirement in apps on win32
Original source:
http://openssl.6102.n7.nabble.com/PATCH-s-client-Fix-keypress-requirement-with-redirected-input-on-Windows-td46787.html
Reviewed-By: Fedor Indutny <fedor@indutny.com>
11 years ago
Fedor Indutny
5d824c89c9
deps: update openssl to v1.0.1i
11 years ago
Fedor Indutny
10fa8e3999
openssl: fix keypress requirement in apps on win32
Original source:
http://openssl.6102.n7.nabble.com/PATCH-s-client-Fix-keypress-requirement-with-redirected-input-on-Windows-td46787.html
Reviewed-By: Fedor Indutny <fedor@indutny.com>
11 years ago
Fedor Indutny
e49429ebd2
deps: update libuv to v0.11.28
11 years ago
Fedor Indutny
aa3b4b4d10
deps: update openssl to v1.0.1i
11 years ago
Timothy J Fontaine
53b4accb6e
v8: Fix compliation with GCC 4.8
Supresses a very loud warning from GCC 4.8 about unused typedefs
Original url https://codereview.chromium.org/69413002
11 years ago
Timothy J Fontaine
7169879879
uv: Upgrade to v0.10.28
11 years ago
Fedor Indutny
530af9cb8e
v8: Interrupts must not mask stack overflow.
Backport of https://codereview.chromium.org/339883002
11 years ago
Timothy J Fontaine
1223cafea6
npm: Upgrade to v1.4.21
11 years ago
Fedor Indutny
9a63a1d89b
deps: backport 60c316 from v8 trunk
Original commit message:
Extend the interceptor setter ASSERT to support the JSGlobalProxy case.
BUG=v8:3463
LOG=n
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/415973004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22589 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Signed-off-by: Fedor Indutny <fedor@indutny.com>
fix #7969
11 years ago
Fedor Indutny
93390ffc20
test: fix test-tls-server-verify
fix #7963
11 years ago
Fedor Indutny
2f0017aa53
deps: update http_parser to 2.3.0
11 years ago
Fedor Indutny
eba7aae107
gyp: fix post-mortem in v0.11
Expose missing constants and keep symbols on OSX.
11 years ago
Fedor Indutny
4c48df5a35
gyp: fix post-mortem in v0.11
Expose missing constants and keep symbols on OSX.
11 years ago
Fedor Indutny
3530fa9cd0
deps: backport 4ed5fde4f from v8 upstream
Original commit message:
Fix x64 MathMinMax for negative untagged int32 arguments.
An untagged int32 has zeros in the upper half even if it is negative.
Using cmpq to compare such numbers will incorrectly ignore the sign.
BUG=164442
R=mvstanton@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11665007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@13273 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Signed-off-by: Fedor Indutny <fedor@indutny.com>
12 years ago
Fedor Indutny
11337db35f
deps: cherry-pick eca441b2 from OpenSSL
Original commit message:
bn_exp.c: fix x86_64-specific crash with one-word modulus.
PR: #3397
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Fedor Indutny
20247064b6
deps: cherry-pick eca441b2 from OpenSSL
Original commit message:
bn_exp.c: fix x86_64-specific crash with one-word modulus.
PR: #3397
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Fedor Indutny
1a1b1a7534
deps: update libuv to v0.11.26
11 years ago
Ben Noordhuis
d78a3787d2
deps: cherry-pick r21466 from v8 trunk
Check for cached transition to ExternalArray elements kind.
See [1] and [2] for details.
[1] https://code.google.com/p/v8/issues/detail?id=3337
[2] https://codereview.chromium.org/291193011
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Ben Noordhuis
5d178188a7
deps: cherry-pick r21297 from v8 trunk
Changes the return value of PropertyCallbackInfo<T>::This() from
Local<Value> back to Local<Object>. See [1] and [2] for background.
[1] https://groups.google.com/forum/#!topic/v8-users/wP2UcQ4cBW4
[2] https://codereview.chromium.org/285643008/
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago