blob: 020d1cb8125a64036137531484b31afff8c2bfb2 [file] [log] [blame]
// Copyright 2006-2008 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.
// Used for building without snapshots.
#include "src/v8.h"
#include "src/snapshot.h"
namespace v8 {
namespace internal {
// Dummy implementations of Set*FromFile(..) APIs.
// These are meant for use with Should this file
// be compiled with those options we just supply these dummy implementations
// below. This happens when compiling the mksnapshot utility.
void SetNativesFromFile(StartupData* data) { CHECK(false); }
void SetSnapshotFromFile(StartupData* data) { CHECK(false); }
const v8::StartupData Snapshot::SnapshotBlob() {
return {NULL, 0};
} } // namespace v8::internal