Home | History | Annotate | Download | only in ia32

Lines Matching refs:stub

305 // Flag that indicates how to generate code for the stub StringAddStub.
308 // Omit left string check in stub (left is definitely a string).
310 // Omit right string check in stub (right is definitely a string).
312 // Omit both string checks in stub.
508 static Mode GetMode(Code* stub) {
509 byte first_instruction = stub->instruction_start()[0];
510 byte second_instruction = stub->instruction_start()[2];
527 static void Patch(Code* stub, Mode mode) {
530 ASSERT(GetMode(stub) == INCREMENTAL ||
531 GetMode(stub) == INCREMENTAL_COMPACTION);
532 stub->instruction_start()[0] = kTwoByteNopInstruction;
533 stub->instruction_start()[2] = kFiveByteNopInstruction;
536 ASSERT(GetMode(stub) == STORE_BUFFER_ONLY);
537 stub->instruction_start()[0] = kTwoByteJumpInstruction;
540 ASSERT(GetMode(stub) == STORE_BUFFER_ONLY);
541 stub->instruction_start()[0] = kTwoByteNopInstruction;
542 stub->instruction_start()[2] = kFiveByteJumpInstruction;
545 ASSERT(GetMode(stub) == mode);
546 CPU::FlushICache(stub->instruction_start(), 7);