v8/test/unittests/interpreter
vogelheim cc40fcec6f Encode interpreter::SourcePositionTable as variable-length ints.
This reduces the memory consumption of SourcePositionTable by ca. 2/3.
Over Octane, this reduces the source position table memory consumption
from ~370kB to ~115kB, which makes it ca. 10% of the total bytecode size
(~1.1MB)

----------------

Reland CL in order to relive the glory days, and also fix memory leak w/ ENABLE_SLOW_CHECKS.

SourcePositionTableBuilder used to have a no destructor since everything
was zone allocated. But if ENABLE_SLOW_CHECKS, it has a heap allocated member
and thus needs a proper constructor. ASAN thankfully notices this, and V8 no
longer builds since this is called during mksnapshot.

Breakge example: http://build.chromium.org/p/client.v8/builders/V8%20Linux64%20ASAN%20arm64%20-%20debug%20builder/builds/4829

R=jochen@chromium.org, yangguo@chromium.org, rmcilroy@chromium.org
BUG=v8:4690
LOG=y

Committed: https://crrev.com/a6f41f7b8226555c5900440f6e3092b3545ee0f6
Cr-Commit-Position: refs/heads/master@{#34250}

patch from issue 1704943002 at patchset 200001 (http://crrev.com/1704943002#ps200001)

Review URL: https://codereview.chromium.org/1731883003

Cr-Commit-Position: refs/heads/master@{#34256}
2016-02-24 17:13:53 +00:00
..
bytecode-array-builder-unittest.cc Revert of [Interpreter] Implements calls through CallICStub in the interpreter. (patchset #15 id:270001 of https://codereview.chromium.org/1688283003/ ) 2016-02-24 15:16:19 +00:00
bytecode-array-iterator-unittest.cc Remove strong mode support from property loads. 2016-02-17 10:30:47 +00:00
bytecode-register-allocator-unittest.cc [interpreter] Move temporary register allocator into own file. 2016-02-02 14:32:27 +00:00
bytecodes-unittest.cc [interpreter, debugger] support debug breaks via bytecode array copy 2016-02-22 13:17:52 +00:00
constant-array-builder-unittest.cc Use a better hash function in IdentityMap. 2016-02-16 14:09:06 +00:00
interpreter-assembler-unittest.cc [Interpreter] Enable runtime profiler support for Ignition. 2016-02-19 18:47:12 +00:00
interpreter-assembler-unittest.h [Interpreter] Make InterpreterAssembler a subclass of CodeStubAssembler. 2016-02-10 16:39:32 +00:00
register-translator-unittest.cc Fix unittest for embedded constant pools. 2016-02-15 10:38:10 +00:00
source-position-table-unittest.cc Encode interpreter::SourcePositionTable as variable-length ints. 2016-02-24 17:13:53 +00:00