#include <objects.h>
Definition at line 9256 of file objects.h.
◆ FlatStringReader() [1/2]
◆ FlatStringReader() [2/2]
v8::internal::FlatStringReader::FlatStringReader |
( |
Isolate * |
isolate, |
|
|
Vector< const char > |
input |
|
) |
| |
Definition at line 8170 of file objects.cc.
8171 : Relocatable(isolate),
◆ Get()
uc32 v8::internal::FlatStringReader::Get |
( |
int |
index | ) |
|
|
inline |
◆ length()
int v8::internal::FlatStringReader::length |
( |
| ) |
|
|
inline |
◆ PostGarbageCollection()
void v8::internal::FlatStringReader::PostGarbageCollection |
( |
| ) |
|
Definition at line 8178 of file objects.cc.
8180 Handle<String> str(
str_);
8184 String::FlatContent content = str->GetFlatContent();
8185 DCHECK(content.IsFlat());
8188 start_ = content.ToOneByteVector().start();
8190 start_ = content.ToUC16Vector().start();
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
PerThreadAssertScopeDebugOnly< HEAP_ALLOCATION_ASSERT, false > DisallowHeapAllocation
References DCHECK, is_one_byte_, v8::internal::String::FlatContent::IsFlat(), v8::internal::String::FlatContent::IsOneByte(), NULL, v8::internal::Vector< T >::start(), start_, str_, v8::internal::String::FlatContent::ToOneByteVector(), and v8::internal::String::FlatContent::ToUC16Vector().
Referenced by FlatStringReader().
◆ is_one_byte_
bool v8::internal::FlatStringReader::is_one_byte_ |
|
private |
◆ length_
int v8::internal::FlatStringReader::length_ |
|
private |
◆ start_
const void* v8::internal::FlatStringReader::start_ |
|
private |
◆ str_
String** v8::internal::FlatStringReader::str_ |
|
private |
The documentation for this class was generated from the following files: