// Copyright 2019 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/objects/tagged-impl.h" #include #include "src/objects/objects.h" #include "src/strings/string-stream.h" #include "src/utils/ostreams.h" namespace v8 { namespace internal { template void TaggedImpl::ShortPrint(FILE* out) { OFStream os(out); os << Brief(*this); } template void TaggedImpl::ShortPrint(StringStream* accumulator) { std::ostringstream os; os << Brief(*this); accumulator->Add(os.str().c_str()); } template void TaggedImpl::ShortPrint(std::ostream& os) { os << Brief(*this); } // Explicit instantiation declarations. template class TaggedImpl; template class TaggedImpl; } // namespace internal } // namespace v8