v8/test/unittests
Andreas Haas 72d5f3848e Terminate the decoding loop more gracefully.
The decoder has the assumption that it always holds that pc <= end.
However, in the FunctionBodyDecoder, end was set to start to terminate
the decoding loop. Thereby the assumption was violated, which caused a
crash. I set end to pc now to end the decoding loop, which preserves
the assumption and terminates the loop.

BUG=chromium:709741
TEST=unittests/FunctionBodyDecoderTest.Regression709741
R=clemensh@chromium.org

Change-Id: I5bfd61bdc4809fc16f12ca8611876c66a79aaa36
Reviewed-on: https://chromium-review.googlesource.com/472723
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44524}
2017-04-10 14:02:42 +00:00
..
api Never freeze/seal/preventExtensions objects with interceptors 2017-03-29 13:04:58 +00:00
asmjs [wasm][asm.js] Adding custom asm.js lexer. 2017-03-16 18:10:45 +00:00
base Fix CHECK_OP implementation in Release builds 2017-01-20 15:28:54 +00:00
compiler [turbofan] Add type to the allocation operator. 2017-04-07 08:32:12 +00:00
compiler-dispatcher [compiler-dispatcher] Just parse functions without SFI. 2017-04-10 09:29:50 +00:00
heap Reland of [heap] Fix CompactionSpace test and move to unittests 2017-04-05 07:36:15 +00:00
interpreter Reland: [Interpreter] Move BinaryOp Smi transformation into BytecodeGenerator."" 2017-04-10 09:58:18 +00:00
libplatform Make idle tasks optional in the default platform. 2017-03-07 13:37:41 +00:00
wasm Terminate the decoding loop more gracefully. 2017-04-10 14:02:42 +00:00
zone Add RecyclingZoneAllocator for ZoneDeque. 2017-03-27 15:10:42 +00:00
BUILD.gn Reland "[snapshot] Move builtins generation into mksnapshot" 2017-04-07 13:31:29 +00:00
cancelable-tasks-unittest.cc Implement async AbortAll for the compiler dispatcher 2017-01-04 13:45:56 +00:00
char-predicates-unittest.cc [unibrow] remove mongolian vowel separator as white space. 2017-02-28 13:42:29 +00:00
counters-unittest.cc [counters] RuntimeStats: fix wrong bookkeeping when dynamically changing counters 2016-11-24 10:05:37 +00:00
DEPS
eh-frame-iterator-unittest.cc [turbofan] Fix more -Wsign-compare warnings. 2016-11-11 12:01:08 +00:00
eh-frame-writer-unittest.cc [turbofan] Fix more -Wsign-compare warnings. 2016-11-11 12:01:08 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
object-unittest.cc Add unittests to keep InstanceType lists in sync 2016-12-19 12:50:30 +00:00
register-configuration-unittest.cc [Turbofan] Add concept of FP register aliasing on ARM 32. 2016-10-26 16:04:33 +00:00
run-all-unittests.cc Make idle tasks optional in the default platform. 2017-03-07 13:37:41 +00:00
source-position-table-unittest.cc This CL enables precise source positions for all V8 compilers. It merges compiler::SourcePosition and internal::SourcePosition to a single class used throughout the codebase. The new internal::SourcePosition instances store an id identifying an inlined function in addition to a script offset. 2016-11-14 17:22:32 +00:00
test-utils.cc Disable other background modules while testing the CompilerDispatcher 2017-03-14 14:01:03 +00:00
test-utils.h Disable other background modules while testing the CompilerDispatcher 2017-03-14 14:01:03 +00:00
unicode-unittest.cc Fix out-of-range access in unibrow::Utf8::CalculateValue. 2016-11-22 09:27:59 +00:00
unittests.gyp Reland of [heap] Fix CompactionSpace test and move to unittests 2017-04-05 07:36:15 +00:00
unittests.isolate
unittests.status [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
value-serializer-unittest.cc Reland of [wasm] Transferrable modules (patchset #1 id:1 of https://codereview.chromium.org/2762163002/ ) 2017-03-21 17:48:05 +00:00