![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <control-path-state.h>
Public Member Functions | |
| ControlPathState (Zone *zone) | |
| NodeState | LookupState (Node *node) const |
| void | AddState (Zone *zone, Node *node, NodeState state, ControlPathState hint) |
| void | AddStateInNewBlock (Zone *zone, Node *node, NodeState state) |
| void | ResetToCommonAncestor (ControlPathState other) |
| bool | IsEmpty () |
| bool | operator== (const ControlPathState &other) const |
| bool | operator!= (const ControlPathState &other) const |
Private Types | |
| using | NodeWithPathDepth = std::pair<Node*, size_t> |
Private Member Functions | |
| size_t | depth (size_t depth_if_multiple_instances) |
Private Attributes | |
| FunctionalList< FunctionalList< NodeState > > | blocks_ |
| PersistentMap< NodeWithPathDepth, NodeState > | states_ |
Definition at line 31 of file control-path-state.h.
|
private |
Definition at line 67 of file control-path-state.h.
|
inlineexplicit |
Definition at line 40 of file control-path-state.h.
| void v8::internal::compiler::ControlPathState< NodeState, node_uniqueness >::AddState | ( | Zone * | zone, |
| Node * | node, | ||
| NodeState | state, | ||
| ControlPathState< NodeState, node_uniqueness > | hint ) |
Definition at line 136 of file control-path-state.h.
| void v8::internal::compiler::ControlPathState< NodeState, node_uniqueness >::AddStateInNewBlock | ( | Zone * | zone, |
| Node * | node, | ||
| NodeState | state ) |
Definition at line 158 of file control-path-state.h.
|
inlineprivate |
Definition at line 69 of file control-path-state.h.
|
inline |
| NodeState v8::internal::compiler::ControlPathState< NodeState, node_uniqueness >::LookupState | ( | Node * | node | ) | const |
Definition at line 125 of file control-path-state.h.
|
inline |
Definition at line 62 of file control-path-state.h.
|
inline |
Definition at line 59 of file control-path-state.h.
| void v8::internal::compiler::ControlPathState< NodeState, node_uniqueness >::ResetToCommonAncestor | ( | ControlPathState< NodeState, node_uniqueness > | other | ) |
|
private |
Definition at line 78 of file control-path-state.h.
|
private |
Definition at line 83 of file control-path-state.h.