Sha256: 22b0837d690b22f10ba9f3995f64bdd99a780f712d3d6761c029f34914e5c731

Contents?: true

Size: 521 Bytes

Versions: 5

Compression:

Stored size: 521 Bytes

Contents

// Copyright 2009 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/d8.h"


namespace v8 {


void Shell::AddOSMethods(Isolate* isolate, Local<ObjectTemplate> os_templ) {}

void Shell::Exit(int exit_code) {
  // Use TerminateProcess avoid races between isolate threads and
  // static destructors.
  fflush(stdout);
  fflush(stderr);
  TerminateProcess(GetCurrentProcess(), exit_code);
}

}  // namespace v8

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
libv8-6.0.286.54.1 vendor/v8/src/d8-windows.cc
libv8-6.0.286.54.0 vendor/v8/src/d8-windows.cc
libv8-6.0.286.54.0beta2 vendor/v8/src/d8-windows.cc
libv8-6.0.286.54.0beta1 vendor/v8/src/d8-windows.cc
libv8-6.0.286.44.0beta1 vendor/v8/src/d8-windows.cc