v8
3.11.10(node0.8.26)
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 2459 of file hydrogen-instructions.h.
HConstant | ( | Handle< Object > | handle, |
Representation | r | ||
) |
Definition at line 1382 of file hydrogen-instructions.cc.
References HValue::kUseGVN, HValue::set_representation(), and HValue::SetFlag().
Referenced by HConstant::CopyToRepresentation(), and HConstant::CopyToTruncatedInt32().
|
virtual |
Reimplemented from HValue.
Definition at line 2078 of file hydrogen-instructions.cc.
References HType::TypeFromValue().
|
virtual |
Reimplemented from HValue.
Definition at line 848 of file hydrogen-instructions.cc.
References HValue::HasNoUses(), and v8::internal::NULL.
HConstant * CopyToRepresentation | ( | Representation | r, |
Zone * | zone | ||
) | const |
Definition at line 1401 of file hydrogen-instructions.cc.
References HConstant::HConstant(), Representation::IsDouble(), Representation::IsInteger32(), and v8::internal::NULL.
Definition at line 1408 of file hydrogen-instructions.cc.
References FACTORY, HConstant::HConstant(), Representation::Integer32(), v8::internal::NULL, and v8::internal::NumberToInt32().
|
inlineprotectedvirtual |
Reimplemented from HValue.
Definition at line 2538 of file hydrogen-instructions.h.
References HValue::cast(), HConstant::handle(), and Handle< T >::is_identical_to().
|
inline |
Definition at line 2505 of file hydrogen-instructions.h.
References ASSERT.
Referenced by HDiv::NewHDiv(), and HConstant::ToBoolean().
|
inlinevirtual |
Reimplemented from HValue.
Definition at line 2492 of file hydrogen-instructions.h.
References Representation::IsDouble(), and HValue::representation().
Definition at line 2463 of file hydrogen-instructions.h.
Referenced by HConstant::DataEquals(), HConstant::PrintDataTo(), and HConstant::ToBoolean().
|
inline |
Definition at line 2504 of file hydrogen-instructions.h.
Referenced by HConstant::ToBoolean().
|
inlinevirtual |
Reimplemented from HValue.
Definition at line 2519 of file hydrogen-instructions.h.
References ASSERT, HEAP, v8::internal::kSmiShiftSize, v8::internal::kSmiTagSize, and HValue::STATIC_ASSERT().
|
inline |
Definition at line 2499 of file hydrogen-instructions.h.
Referenced by BoundsCheckKey::Create(), HShl::InferRange(), HShr::InferRange(), HSar::InferRange(), HMod::NewHMod(), and HConstant::ToBoolean().
|
inline |
Definition at line 2509 of file hydrogen-instructions.h.
Referenced by HPhi::InferredRepresentation(), HBitwise::NewHBitwise(), HDiv::NewHDiv(), and v8::internal::NumberValueAsInteger32().
|
inline |
Definition at line 2515 of file hydrogen-instructions.h.
|
inline |
Definition at line 2467 of file hydrogen-instructions.h.
References HEAP.
Reimplemented from HValue.
Definition at line 1114 of file hydrogen-instructions.cc.
References HValue::InferRange(), and Range::set_can_be_minus_zero().
|
inline |
Definition at line 2465 of file hydrogen-instructions.h.
References HEAP.
|
inline |
Definition at line 2500 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 2484 of file hydrogen-instructions.h.
References HeapNumber::cast(), v8::internal::NumberToInt32(), and HeapNumber::value().
Referenced by HPhi::InferredRepresentation().
|
inline |
Definition at line 2496 of file hydrogen-instructions.h.
|
inline |
Definition at line 2510 of file hydrogen-instructions.h.
References ASSERT, and v8::internal::DoubleToInt32().
Referenced by HBitwise::NewHBitwise(), and v8::internal::NumberValueAsInteger32().
|
virtual |
Reimplemented from HInstruction.
Definition at line 1433 of file hydrogen-instructions.cc.
References HConstant::handle().
|
inlinevirtual |
Implements HValue.
Definition at line 2480 of file hydrogen-instructions.h.
References Representation::None().
bool ToBoolean | ( | ) | const |
Definition at line 1416 of file hydrogen-instructions.cc.
References String::cast(), HConstant::DoubleValue(), HConstant::handle(), HConstant::HasDoubleValue(), HConstant::HasInteger32Value(), HConstant::Integer32Value(), and isnan().