#include <objects.h>
v8::Objectを継承しています。
Public メソッド | |
int | value () |
void | SmiPrint () |
void | SmiPrint (StringStream *accumulator) |
Static Public メソッド | |
static Smi * | FromInt (int value) |
static bool | IsValid (int value) |
static Smi * | cast (Object *object) |
Static Public 変数 | |
static const int | kMinValue = -(1 << (kBitsPerPointer - (kSmiTagSize + 1))) |
static const int | kMaxValue = (1 << (kBitsPerPointer - (kSmiTagSize + 1))) - 1 |
Private メソッド | |
DISALLOW_IMPLICIT_CONSTRUCTORS (Smi) |
参照元 v8::internal::BUILTIN(), v8::internal::Map::ClearNonLiveTransitions(), v8::internal::Factory::CreateApiFunction(), v8::internal::Dictionary::DetailsAt(), v8::internal::Heap::GetNumberStringCache(), v8::internal::HeapSortPairs(), v8::internal::BASE_EMBEDDED< Allocator >::IndexFromValue(), v8::internal::InsertionSortPairs(), v8::internal::Execution::InstantiateFunction(), v8::Value::Int32Value(), v8::Value::IntegerValue(), v8::ObjectTemplate::InternalFieldCount(), v8::internal::CodeGenerator::IsInlineSmi(), v8::internal::RegExpImpl::JsreCapture(), v8::Array::Length(), v8::NeanderArray::length(), v8::internal::MarkCompactCollector::MarkDescriptorArray(), v8::internal::PrintObject(), v8::internal::RegExpKey::RegExpObjectHash(), v8::internal::Runtime_Abort(), v8::internal::Runtime_CreateObjectLiteralBoilerplate(), v8::internal::Runtime_DeclareContextSlot(), v8::internal::Runtime_DeclareGlobals(), v8::internal::Runtime_MaterializeRegExpLiteral(), v8::internal::Runtime_NewArgumentsFast(), v8::internal::Runtime_NumberToJSUint32(), v8::internal::Runtime_NumberToString(), v8::internal::Runtime_PushIfAbsent(), v8::internal::Runtime_StringBuilderConcat(), v8::internal::Runtime_StringFromCharCodeArray(), v8::internal::Heap::SetNumberStringCache(), v8::internal::CodeGenerator::SmiComparison(), v8::internal::CodeGenerator::SmiOperation(), v8::internal::FixedArray::SortPairs(), v8::internal::StringBuilderConcatHelper(), v8::Value::ToArrayIndex(), v8::internal::JSRegExp::TypeTag(), v8::Value::Uint32Value(), v8::Int32::Value(), と v8::Integer::Value().
v8::internal::Smi::DISALLOW_IMPLICIT_CONSTRUCTORS | ( | Smi | ) | [private] |
Smi * v8::internal::Smi::FromInt | ( | int | value | ) | [inline, static] |
objects-inl.h の 570 行で定義されています。
参照先 ASSERT, IsValid(), v8::internal::kSmiTag, と v8::internal::kSmiTagSize.
参照元 v8::internal::MacroAssembler::Abort(), v8::internal::DescriptorArray::Allocate(), v8::internal::Heap::AllocateArgumentsObject(), v8::internal::Accessors::ArrayGetLength(), v8::internal::RegExpImpl::AtomExec(), v8::internal::RegExpImpl::AtomExecGlobal(), v8::internal::BUILTIN(), v8::internal::CharCodeAt(), v8::internal::CodeGenerator::Comparison(), v8::internal::Compiler::Compile(), v8::internal::Debug::CompileDebuggerScript(), v8::internal::Compiler::CompileEval(), v8::internal::Dictionary::CopyEnumKeysTo(), v8::internal::Heap::CreateApiObjects(), v8::internal::Heap::CreateInitialObjects(), v8::internal::CodeGenerator::DeclareGlobals(), v8::internal::Dictionary::DeleteProperty(), v8::internal::MacroAssembler::EnterFrame(), v8::Value::Equals(), v8::internal::Accessors::FunctionGetLength(), v8::internal::CodeGenerator::GenCode(), v8::internal::InstanceofStub::Generate(), v8::internal::CounterOpStub::Generate(), v8::internal::RevertToNumberStub::Generate(), v8::internal::CompareStub::Generate(), v8::internal::RegExpDeferred::Generate(), v8::internal::SmiComparisonDeferred::Generate(), v8::internal::DeferredInlinedSmiSub::Generate(), v8::internal::DeferredInlinedSmiAddReversed::Generate(), v8::internal::DeferredInlinedSmiAdd::Generate(), v8::internal::DeferredInlinedSmiOperationReversed::Generate(), v8::internal::ObjectLiteralDeferred::Generate(), v8::internal::DeferredInlinedSmiOperation::Generate(), v8::internal::CodeGenerator::GenerateArgumentsAccess(), v8::internal::CodeGenerator::GenerateArgumentsLength(), v8::internal::JSEntryStub::GenerateBody(), v8::internal::CodeGenerator::GenerateFastCaseSwitchJumpTable(), v8::internal::Dictionary::GenerateNewEnumerationIndices(), v8::internal::JSObject::GetLocalElementKeys(), v8::internal::JSArray::Initialize(), v8::InitializeFunctionTemplate(), v8::InitializeTemplate(), v8::internal::StandardFrame::IsConstructFrame(), v8::internal::RegExpImpl::JsreCompile(), v8::internal::RegExpImpl::JsreExecOnce(), v8::internal::KeyedLoadIC::Load(), v8::internal::LoadIC::Load(), v8::internal::MessageHandler::MakeMessageObject(), v8::TryCatch::Message(), v8::NeanderArray::NeanderArray(), v8::Integer::New(), v8::ObjectTemplate::New(), v8::FunctionTemplate::New(), v8::internal::Factory::NewScript(), v8::internal::Heap::NumberFromInt32(), v8::internal::Heap::NumberFromUint32(), v8::internal::Top::PrintCurrentStackTrace(), v8::internal::Debugger::ProcessDebugEvent(), v8::internal::MacroAssembler::PushTryHandler(), v8::internal::LookupCache::Put(), v8::internal::JSArray::RemoveHoles(), v8::internal::Dictionary::RemoveNumberEntries(), v8::TryCatch::Reset(), v8::internal::Runtime_DebugInterceptorInfo(), v8::internal::Runtime_DebugPropertyAttributesFromDetails(), v8::internal::Runtime_DebugPropertyIndexFromDetails(), v8::internal::Runtime_DebugPropertyTypeFromDetails(), v8::internal::Runtime_EstimateNumberOfElements(), v8::internal::Runtime_FunctionGetScriptSourcePosition(), v8::internal::Runtime_GetArgumentsProperty(), v8::internal::Runtime_GetArrayKeys(), v8::internal::Runtime_GetFrameCount(), v8::internal::Runtime_GetFrameDetails(), v8::internal::Runtime_Math_pow(), v8::internal::Runtime_NumberCompare(), v8::internal::Runtime_NumberEquals(), v8::internal::Runtime_SmiLexicographicCompare(), v8::internal::Runtime_StringCompare(), v8::internal::Runtime_StringEquals(), v8::internal::Runtime_StringIndexOf(), v8::internal::Runtime_StringLastIndexOf(), v8::internal::Runtime_StringLocaleCompare(), v8::internal::BooleanBit::set(), v8::internal::AccessorInfo::set_property_attributes(), v8::internal::DebugInfo::SetBreakPoint(), v8::internal::HashTable< 0, 1 >::SetCapacity(), v8::internal::JSArray::SetContent(), v8::internal::JSObject::SetElementsLength(), v8::internal::JSObject::SetFastElement(), v8::ObjectTemplate::SetInternalFieldCount(), v8::internal::Dictionary::SetNextEnumerationIndex(), v8::internal::DescriptorArray::SetNextEnumerationIndex(), v8::internal::HashTable< 0, 1 >::SetNumberOfElements(), v8::internal::Factory::SetRegExpData(), v8::internal::Heap::SmiOrNumberFromDouble(), v8::internal::Accessors::StringGetLength(), v8::Value::ToArrayIndex(), v8::internal::CodeGenerator::ToBoolean(), v8::internal::Dictionary::UpdateMaxNumberKey(), と v8::internal::WrapFrameId().
bool v8::internal::Smi::IsValid | ( | int | value | ) | [inline, static] |
objects-inl.h の 644 行で定義されています。
参照先 ASSERT, kMaxValue, と kMinValue.
参照元 v8::internal::Failure::Construct(), FromInt(), v8::Integer::New(), v8::internal::Heap::NumberFromInt32(), v8::internal::Heap::NumberFromUint32(), v8::internal::Failure::RetryAfterGC(), v8::internal::Runtime_StringBuilderConcat(), v8::internal::Runtime_URIEscape(), v8::ObjectTemplate::SetInternalFieldCount(), と v8::internal::Heap::SmiOrNumberFromDouble().
void v8::internal::Smi::SmiPrint | ( | StringStream * | accumulator | ) |
objects.cc の 438 行で定義されています。
void v8::internal::Smi::SmiPrint | ( | ) |
objects.cc の 433 行で定義されています。
参照先 v8::internal::PrintF(), と value().
int v8::internal::Smi::value | ( | ) | [inline] |
objects-inl.h の 565 行で定義されています。
参照先 v8::internal::kSmiTagSize.
参照元 v8::internal::BUILTIN(), v8::internal::BASE_EMBEDDED< Allocator >::IndexFromValue(), v8::internal::RegExpKey::RegExpHash(), v8::internal::Runtime_CreateObjectLiteralBoilerplate(), v8::internal::Runtime_DeclareContextSlot(), v8::internal::Runtime_DeclareGlobals(), v8::internal::Runtime_MaterializeRegExpLiteral(), v8::internal::Runtime_NewArgumentsFast(), v8::internal::Runtime_NumberToJSUint32(), v8::internal::Runtime_NumberToString(), v8::internal::Runtime_StringBuilderConcat(), v8::internal::smi_get_hash(), v8::internal::CodeGenerator::SmiComparison(), v8::internal::CodeGenerator::SmiOperation(), SmiPrint(), v8::internal::StringBuilderConcatHelper(), v8::internal::JSRegExp::TypeTag(), と v8::internal::UnwrapFrameId().
const int v8::internal::Smi::kMaxValue = (1 << (kBitsPerPointer - (kSmiTagSize + 1))) - 1 [static] |
const int v8::internal::Smi::kMinValue = -(1 << (kBitsPerPointer - (kSmiTagSize + 1))) [static] |