deps: backport IsValid changes from 4e8736d in V8 84/139784/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable tizen_3.0 accepted/tizen/3.0/common/20170721.115349 accepted/tizen/3.0/ivi/20170721.024122 accepted/tizen/3.0/mobile/20170721.024102 accepted/tizen/3.0/tv/20170721.024116 accepted/tizen/3.0/wearable/20170721.024111 submit/tizen_3.0/20170720.104943
authormin7.choi <min7.choi@samsung.com>
Thu, 20 Jul 2017 10:10:07 +0000 (19:10 +0900)
committermin7.choi <min7.choi@samsung.com>
Thu, 20 Jul 2017 10:10:10 +0000 (19:10 +0900)
commit0c1b8df2f89e60af2bd1923a7513ad4e870249d1
tree58253c2360783922648a76eeaec7a61c44cce7da
parentee65f6fd4a9b1a1dc48ad33ecc7374ccc5334e64
deps: backport IsValid changes from 4e8736d in V8

V8 erroneously did null pointer checks on `this`.
It can lead to a SIGSEGV crash if node is compiled with GCC 6.
Backport relevant changes from [1] that fix this issue.

[1]: https://codereview.chromium.org/1900423002
Fixes: https://github.com/nodejs/node/issues/6272
PR-URL: https://github.com/nodejs/node/pull/6669

Change-Id: I93088567218e4ef548d20a3aebdb1f23de773f6d
Signed-off-by: min7.choi <min7.choi@samsung.com>
deps/v8/src/heap/incremental-marking.cc
deps/v8/src/heap/spaces-inl.h
deps/v8/src/heap/spaces.cc
deps/v8/src/heap/spaces.h
deps/v8/test/cctest/test-spaces.cc