v8/include
jgruber 2d3f6f9103 [api] Add Module::GetUnboundScript()
This method is intended for use by code caching as follows:

1. The module is compiled (and perhaps instantiated).
2. The embedder fetches and stores the module's unbound script (i.e.
   the shared function info).
3. Module evaluation, maybe triggering lazy compilation.
4. Generated code for the module (which hangs off the shared function
   info) is inserted into the code cache.

Subsequent module loads can load from the code cache prior to
evaluation.

Bug: v8:7685
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: I80018cd921ab1a18323906a548b249e19d9f9509
Reviewed-on: https://chromium-review.googlesource.com/1041745
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52998}
2018-05-04 14:52:29 +00:00
..
libplatform [api] Disable in_process_stack_dumping in DefaultPlatform by default. 2018-03-23 15:26:30 +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 [inspector] remove wrapObject overload 2017-12-20 20:17:21 +00:00
v8-platform.h [V8 Platform] Include missing header for abort() 2018-05-03 07:30:37 +00:00
v8-profiler.h [cpu-profiler] Automatically create TracingCpuProfiler 2018-04-11 21:31:07 +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 version to 6.8 2018-04-12 10:58:04 +00:00
v8.h [api] Add Module::GetUnboundScript() 2018-05-04 14:52:29 +00:00
v8config.h [bigint] Add big endian support for BigInts serialization 2018-04-25 08:29:20 +00:00