#include <interpreter-irregexp.h>
Definition at line 14 of file interpreter-irregexp.h.
◆ Match()
Definition at line 575 of file interpreter-irregexp.cc.
581 DCHECK(subject->IsFlat());
584 const byte* code_base = code_array->GetDataStartAddress();
585 uc16 previous_char =
'\n';
586 String::FlatContent subject_content = subject->GetFlatContent();
587 if (subject_content.IsOneByte()) {
588 Vector<const uint8_t> subject_vector = subject_content.ToOneByteVector();
589 if (start_position != 0) previous_char = subject_vector[start_position - 1];
597 DCHECK(subject_content.IsTwoByte());
598 Vector<const uc16> subject_vector = subject_content.ToUC16Vector();
599 if (start_position != 0) previous_char = subject_vector[start_position - 1];
#define DCHECK(condition)
static RegExpImpl::IrregexpResult RawMatch(Isolate *isolate, const byte *code_base, Vector< const Char > subject, int *registers, int current, uint32_t current_char)
PerThreadAssertScopeDebugOnly< HEAP_ALLOCATION_ASSERT, false > DisallowHeapAllocation
References DCHECK, v8::internal::String::FlatContent::IsOneByte(), v8::internal::String::FlatContent::IsTwoByte(), v8::internal::RawMatch(), v8::internal::String::FlatContent::ToOneByteVector(), and v8::internal::String::FlatContent::ToUC16Vector().
Referenced by v8::internal::RegExpImpl::IrregexpExecRaw().
The documentation for this class was generated from the following files: