mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
Upgrade V8 to 7.4.158 (#1767)
This is to have access to this fix: https://bugs.chromium.org/p/v8/issues/detail?id=8838 necessary for v8_postmortem_support.
This commit is contained in:
parent
e782ba1a6f
commit
8d1567fafb
3 changed files with 7 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||
solutions = [{
|
||||
'url':
|
||||
'https://chromium.googlesource.com/v8/v8.git@7.4.98',
|
||||
'https://chromium.googlesource.com/v8/v8.git@7.4.158',
|
||||
'name': 'v8',
|
||||
'deps_file': 'DEPS',
|
||||
'custom_deps': {
|
||||
|
|
|
@ -90,11 +90,12 @@ deno_buf deno_get_snapshot(Deno* d_) {
|
|||
blob.raw_size};
|
||||
}
|
||||
|
||||
static std::unique_ptr<v8::Platform> platform;
|
||||
|
||||
void deno_init() {
|
||||
// v8::V8::InitializeICUDefaultLocation(argv[0]);
|
||||
// v8::V8::InitializeExternalStartupData(argv[0]);
|
||||
auto* p = v8::platform::CreateDefaultPlatform();
|
||||
v8::V8::InitializePlatform(p);
|
||||
CHECK_NULL(platform.get());
|
||||
platform = v8::platform::NewDefaultPlatform();
|
||||
v8::V8::InitializePlatform(platform.get());
|
||||
v8::V8::Initialize();
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 6cb1fd41357d7e26664200f5b891913c14d55365
|
||||
Subproject commit c2745933463333cd2f864614d481881f73447cf2
|
Loading…
Reference in a new issue