Skip to content

Commit

Permalink
Upgrade V8 to 7.4.158 (#1767)
Browse files Browse the repository at this point in the history
This is to have access to this fix:
https://bugs.chromium.org/p/v8/issues/detail?id=8838
necessary for v8_postmortem_support.
  • Loading branch information
ry authored Feb 13, 2019
1 parent e782ba1 commit 8d1567f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gclient_config.py
Original file line number Diff line number Diff line change
@@ -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': {
Expand Down
9 changes: 5 additions & 4 deletions libdeno/api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
2 changes: 1 addition & 1 deletion third_party
Submodule third_party updated 396 files

0 comments on commit 8d1567f

Please sign in to comment.