// Copyright 2014 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/bailout-reason.h"#include "src/base/logging.h"namespacev8{namespaceinternal{constchar*GetBailoutReason(BailoutReasonreason){DCHECK(reason<kLastErrorMessage);#define ERROR_MESSAGES_TEXTS(C, T) T,staticconstchar*error_messages_[]={ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS)};#undef ERROR_MESSAGES_TEXTSreturnerror_messages_[reason];}