5#define SHOULD_NOT_INCLUDE_RUNTIME
12void AsmIntrinsifier::String_identityHash(Assembler* assembler,
13 Label* normal_ir_body) {
14 String_getHashCode(assembler, normal_ir_body);
17void AsmIntrinsifier::RegExp_ExecuteMatch(Assembler* assembler,
18 Label* normal_ir_body) {
19 AsmIntrinsifier::IntrinsifyRegExpExecuteMatch(assembler, normal_ir_body,
23void AsmIntrinsifier::RegExp_ExecuteMatchSticky(Assembler* assembler,
24 Label* normal_ir_body) {
25 AsmIntrinsifier::IntrinsifyRegExpExecuteMatch(assembler, normal_ir_body,
32void AsmIntrinsifier::StringEquality(Assembler* assembler,
38 Label* normal_ir_body,
39 intptr_t string_cid) {
40 Label is_true, is_false, loop;
42 __ CompareRegisters(obj1, obj2);
45 __ CompareClassId(obj2, string_cid, temp1);
49 __ CompareWithMemoryValue(
54 if (string_cid == kOneByteStringCid) {
55 __ ArithmeticShiftRightImmediate(temp1, 1);
60 __ CompareWords(obj1, obj2,
static word length_offset()
static constexpr intptr_t kWordSize
const Bool & TrueObject()
const Bool & FalseObject()
constexpr intptr_t kWordSizeLog2
static bool Bind(PassBindingsCacheMTL &pass, ShaderStage stage, size_t bind_index, const BufferView &view)