Lines Matching refs:JSRegExp
1483 void JSRegExp::JSRegExpVerify(Isolate* isolate) {
1486 case JSRegExp::ATOM: {
1488 CHECK(arr.get(JSRegExp::kAtomPatternIndex).IsString());
1491 case JSRegExp::EXPERIMENTAL: {
1493 Smi uninitialized = Smi::FromInt(JSRegExp::kUninitializedValue);
1495 Object latin1_code = arr.get(JSRegExp::kIrregexpLatin1CodeIndex);
1496 Object uc16_code = arr.get(JSRegExp::kIrregexpUC16CodeIndex);
1497 Object latin1_bytecode = arr.get(JSRegExp::kIrregexpLatin1BytecodeIndex);
1498 Object uc16_bytecode = arr.get(JSRegExp::kIrregexpUC16BytecodeIndex);
1516 CHECK_EQ(arr.get(JSRegExp::kIrregexpMaxRegisterCountIndex),
1518 CHECK(arr.get(JSRegExp::kIrregexpCaptureCountIndex).IsSmi());
1519 CHECK_GE(Smi::ToInt(arr.get(JSRegExp::kIrregexpCaptureCountIndex)), 0);
1520 CHECK_EQ(arr.get(JSRegExp::kIrregexpTicksUntilTierUpIndex),
1522 CHECK_EQ(arr.get(JSRegExp::kIrregexpBacktrackLimit), uninitialized);
1525 case JSRegExp::IRREGEXP: {
1529 Object one_byte_data = arr.get(JSRegExp::kIrregexpLatin1CodeIndex);
1533 Smi::ToInt(one_byte_data) == JSRegExp::kUninitializedValue) ||
1535 Object uc16_data = arr.get(JSRegExp::kIrregexpUC16CodeIndex);
1537 Smi::ToInt(uc16_data) == JSRegExp::kUninitializedValue) ||
1541 arr.get(JSRegExp::kIrregexpLatin1BytecodeIndex);
1545 Smi::ToInt(one_byte_bytecode) == JSRegExp::kUninitializedValue) ||
1547 Object uc16_bytecode = arr.get(JSRegExp::kIrregexpUC16BytecodeIndex);
1549 Smi::ToInt(uc16_bytecode) == JSRegExp::kUninitializedValue) ||
1555 CHECK(arr.get(JSRegExp::kIrregexpCaptureCountIndex).IsSmi());
1556 CHECK_GE(Smi::ToInt(arr.get(JSRegExp::kIrregexpCaptureCountIndex)), 0);
1557 CHECK(arr.get(JSRegExp::kIrregexpMaxRegisterCountIndex).IsSmi());
1558 CHECK(arr.get(JSRegExp::kIrregexpTicksUntilTierUpIndex).IsSmi());
1559 CHECK(arr.get(JSRegExp::kIrregexpBacktrackLimit).IsSmi());
1563 CHECK_EQ(JSRegExp::NOT_COMPILED, type_tag());