![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <string-builder-optimizer.h>
Public Types | |
enum class | State : uint8_t { kUnknown , kOneByte , kTwoByte , kCantKnow } |
Public Member Functions | |
OneOrTwoByteAnalysis (TFGraph *graph, Zone *zone, JSHeapBroker *broker) | |
State | OneOrTwoByte (Node *node) |
Static Public Member Functions | |
static State | ConcatResultIsOneOrTwoByte (State a, State b) |
Private Member Functions | |
std::optional< std::pair< int64_t, int64_t > > | TryGetRange (Node *node) |
JSHeapBroker * | broker () |
Private Attributes | |
ZoneVector< State > | states_ |
JSHeapBroker * | broker_ |
Definition at line 146 of file string-builder-optimizer.h.
|
strong |
Enumerator | |
---|---|
kUnknown | |
kOneByte | |
kTwoByte | |
kCantKnow |
Definition at line 158 of file string-builder-optimizer.h.
|
inline |
Definition at line 155 of file string-builder-optimizer.h.
|
inlineprivate |
Definition at line 208 of file string-builder-optimizer.h.
|
static |
Definition at line 71 of file string-builder-optimizer.cc.
OneOrTwoByteAnalysis::State v8::internal::compiler::OneOrTwoByteAnalysis::OneOrTwoByte | ( | Node * | node | ) |
Definition at line 228 of file string-builder-optimizer.cc.
|
private |
Definition at line 83 of file string-builder-optimizer.cc.
|
private |
Definition at line 211 of file string-builder-optimizer.h.
|
private |
Definition at line 210 of file string-builder-optimizer.h.