blob: c6ea6a2bf17b91cf20b8efb6e8c2ba3ff324965f [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/snapshot/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) { UNREACHABLE(); }
void SetSnapshotFromFile(StartupData* data) { UNREACHABLE(); }
void ReadNatives() {}
void DisposeNatives() {}
const v8::StartupData* Snapshot::DefaultSnapshotBlob() { return nullptr; }
} // namespace internal
} // namespace v8