v8/include
Clemens Hammacher e90af2c702 [api] Properly define BufferReference instead of CallerOwnedBuffer
The name {CallerOwnedBuffer} does not make sense in all situations,
especially if such an object is returned instead of being passed as
argument.
I am working on moving the wasm wire bytes off the JS heap, and hence
will return unowned references via the API. To prepare this change, I
deprecate the existing {CallerOwnedBuffer} and introduce a new
{BufferReference} struct with proper field names.

R=titzer@chromium.org, adamk@chromium.org

Bug: v8:7868
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: Ic8953951447038a831b15a336a52a199bfbeafd5
Reviewed-on: https://chromium-review.googlesource.com/1108207
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Ben Titzer <titzer@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53929}
2018-06-21 13:17:18 +00:00
..
libplatform [libplatform] Deprecate EnsureEventLoopInitialized 2018-05-09 14:56:54 +00:00
APIDesign.md Replace <> with &lt;&gt; in md docs 2017-06-12 10:09:12 +00:00
DEPS [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
OWNERS Add Ulan to API owners and make it noparent. 2018-04-03 09:41:11 +00:00
PRESUBMIT.py [CQ] Let presubmit scripts point to correct LUCI bots 2018-02-27 23:26:51 +00:00
v8-inspector-protocol.h [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
v8-inspector.h Provide API to expose non-empty top source url. 2018-05-07 20:47:19 +00:00
v8-platform.h [V8Platform] Remove deprecated Background threads APIs and make new APIs pure virtual. 2018-05-16 23:27:02 +00:00
v8-profiler.h [api] Switch from SetBuildEmbedderGraphCallback to AddBuildEmbedderGraphCallback 2018-06-06 09:46:57 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h remove SetReference from PersistentValueMapBase. 2018-01-19 13:40:51 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h [build] Fix V8_VERSION_STRING with embedder string 2017-10-23 14:31:52 +00:00
v8-version.h Update V8 version to 6.9 2018-05-24 10:31:20 +00:00
v8.h [api] Properly define BufferReference instead of CallerOwnedBuffer 2018-06-21 13:17:18 +00:00
v8config.h [bigint] Add big endian support for BigInts serialization 2018-04-25 08:29:20 +00:00