v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <hydrogen-instructions.h>
Protected Member Functions | |
virtual Range * | InferRange (Zone *zone) |
virtual bool | DataEquals (HValue *other) |
Protected Member Functions inherited from HTemplateInstruction< 0 > | |
void | InternalSetOperandAt (int i, HValue *value) |
Protected Member Functions inherited from HInstruction | |
HInstruction () | |
virtual void | DeleteFromGraph () |
Protected Member Functions inherited from HValue | |
virtual void | RepresentationChanged (Representation to) |
void | clear_block () |
void | set_representation (Representation r) |
HUseListNode * | RemoveUse (HValue *value, int index) |
void | RegisterUse (int index, HValue *new_value) |
Definition at line 2568 of file hydrogen-instructions.h.
HConstant | ( | Handle< Object > | handle, |
Representation | r | ||
) |
Definition at line 1438 of file hydrogen-instructions.cc.
References v8::internal::DoubleToInt32(), HValue::kUseGVN, HValue::set_representation(), and HValue::SetFlag().
Referenced by HConstant::CopyToRepresentation(), and HConstant::CopyToTruncatedInt32().
HConstant | ( | int32_t | value, |
Representation | r | ||
) |
Definition at line 1454 of file hydrogen-instructions.cc.
References HValue::kUseGVN, HValue::set_representation(), and HValue::SetFlag().
HConstant | ( | double | value, |
Representation | r | ||
) |
Definition at line 1464 of file hydrogen-instructions.cc.
References HValue::kUseGVN, HValue::set_representation(), and HValue::SetFlag().
|
virtual |
Reimplemented from HValue.
Definition at line 2181 of file hydrogen-instructions.cc.
References HType::HeapNumber(), Smi::IsValid(), HType::Smi(), and HType::TypeFromValue().
|
virtual |
Reimplemented from HValue.
Definition at line 862 of file hydrogen-instructions.cc.
References HValue::HasNoUses(), and v8::internal::NULL.
HConstant * CopyToRepresentation | ( | Representation | r, |
Zone * | zone | ||
) | const |
Definition at line 1474 of file hydrogen-instructions.cc.
References ASSERT, HConstant::HConstant(), Handle< T >::is_null(), Representation::IsDouble(), Representation::IsInteger32(), and v8::internal::NULL.
Definition at line 1486 of file hydrogen-instructions.cc.
References v8::internal::DoubleToInt32(), HConstant::HConstant(), Representation::Integer32(), Handle< T >::is_null(), and v8::internal::NULL.
|
inlineprotectedvirtual |
Reimplemented from HValue.
Definition at line 2676 of file hydrogen-instructions.h.
References ASSERT, HValue::cast(), and Handle< T >::is_null().
|
inline |
Definition at line 2632 of file hydrogen-instructions.h.
References ASSERT.
Referenced by HDiv::NewHDiv(), and HConstant::ToBoolean().
|
inlinevirtual |
Reimplemented from HValue.
Definition at line 2619 of file hydrogen-instructions.h.
References Representation::IsDouble(), and HValue::representation().
Definition at line 2574 of file hydrogen-instructions.h.
References ASSERT, FACTORY, and v8::internal::TENURED.
Referenced by HConstant::PrintDataTo(), and HConstant::ToBoolean().
|
inline |
Definition at line 2631 of file hydrogen-instructions.h.
Referenced by HConstant::ToBoolean().
|
inlinevirtual |
Reimplemented from HValue.
Definition at line 2651 of file hydrogen-instructions.h.
References ASSERT, and ASSERT_ALLOCATION_DISABLED.
|
inline |
Definition at line 2626 of file hydrogen-instructions.h.
Referenced by BoundsCheckKey::Create(), HShl::InferRange(), HShr::InferRange(), HSar::InferRange(), HMod::NewHMod(), and HConstant::ToBoolean().
|
inline |
Definition at line 2636 of file hydrogen-instructions.h.
Referenced by HPhi::InferredRepresentation(), HBitwise::NewHBitwise(), HDiv::NewHDiv(), and v8::internal::NumberValueAsInteger32().
|
inline |
Definition at line 2584 of file hydrogen-instructions.h.
Reimplemented from HValue.
Definition at line 1146 of file hydrogen-instructions.cc.
References HValue::InferRange(), and Range::set_can_be_minus_zero().
|
inline |
Definition at line 2582 of file hydrogen-instructions.h.
References HEAP.
|
inline |
Definition at line 2627 of file hydrogen-instructions.h.
References ASSERT.
Referenced by BoundsCheckKey::Create(), HShl::InferRange(), HShr::InferRange(), HSar::InferRange(), HMod::NewHMod(), and HConstant::ToBoolean().
|
inlinevirtual |
Reimplemented from HValue.
Definition at line 2615 of file hydrogen-instructions.h.
Referenced by HPhi::InferredRepresentation().
|
inline |
Definition at line 2623 of file hydrogen-instructions.h.
|
inline |
Definition at line 2647 of file hydrogen-instructions.h.
|
inline |
Definition at line 2637 of file hydrogen-instructions.h.
References ASSERT.
Referenced by HBitwise::NewHBitwise(), and v8::internal::NumberValueAsInteger32().
|
virtual |
Reimplemented from HInstruction.
Definition at line 1522 of file hydrogen-instructions.cc.
References StringStream::Add(), and HConstant::handle().
|
inlinevirtual |
Implements HValue.
Definition at line 2611 of file hydrogen-instructions.h.
References Representation::None().
bool ToBoolean | ( | ) |
Definition at line 1503 of file hydrogen-instructions.cc.
References String::cast(), HConstant::DoubleValue(), HConstant::handle(), HConstant::HasDoubleValue(), HConstant::HasInteger32Value(), HConstant::Integer32Value(), isnan(), and String::length().