Flatten the Arrays returned and consumed by the v8::Map API
authoradamk <adamk@chromium.org>
Wed, 3 Jun 2015 16:32:52 +0000 (09:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Jun 2015 16:33:00 +0000 (16:33 +0000)
commit353310b7c11fcdf7fa41c64d63109e9a017d90b1
tree418a10e44311dc37919752e687dc371bd39392ea
parent5606fefe1254c9369f39aa80705d52eaa578519a
Flatten the Arrays returned and consumed by the v8::Map API

This will significantly simplify the serialization code, as well
as speeding it up (by triggering only a single allocation instead of O(size)
allocations).

BUG=chromium:478263
LOG=y

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

Cr-Commit-Position: refs/heads/master@{#28793}
include/v8.h
src/api.cc
src/collection.js
test/cctest/test-api.cc