V8 Project
v8::internal::compiler::anonymous_namespace{instruction-selector-x64-unittest.cc} Namespace Reference

Classes

struct  MemoryAccess
 

Functions

std::ostream & operator<< (std::ostream &os, const MemoryAccess &memacc)
 

Variables

static const MemoryAccess kMemoryAccesses []
 

Function Documentation

◆ operator<<()

std::ostream& v8::internal::compiler::anonymous_namespace{instruction-selector-x64-unittest.cc}::operator<< ( std::ostream &  os,
const MemoryAccess memacc 
)

Definition at line 109 of file instruction-selector-x64-unittest.cc.

109  {
110  OStringStream ost;
111  ost << memacc.type;
112  return os << ost.c_str();
113 }

References v8::internal::OStringStream::c_str(), and v8::internal::compiler::anonymous_namespace{instruction-selector-x64-unittest.cc}::MemoryAccess::type.

+ Here is the call graph for this function:

Variable Documentation

◆ kMemoryAccesses

const MemoryAccess v8::internal::compiler::anonymous_namespace{instruction-selector-x64-unittest.cc}::kMemoryAccesses[]
static
Initial value:
= {
{kMachInt8, kX64Movsxbl, kX64Movb},
{kMachUint8, kX64Movzxbl, kX64Movb},
{kMachInt16, kX64Movsxwl, kX64Movw},
{kMachUint16, kX64Movzxwl, kX64Movw},
{kMachInt32, kX64Movl, kX64Movl},
{kMachUint32, kX64Movl, kX64Movl},
{kMachInt64, kX64Movq, kX64Movq},
{kMachUint64, kX64Movq, kX64Movq},
{kMachFloat32, kX64Movss, kX64Movss},
{kMachFloat64, kX64Movsd, kX64Movsd}}

Definition at line 116 of file instruction-selector-x64-unittest.cc.