Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
35 #include "code-stubs.h"
49 * - r5 : Pointer to current code object (Code*) including heap object tag.
55 * - r9 : Unused, might be used by C code and expected unchanged.
67 * - fp[52] direct_call (if 1, direct call from JavaScript code,
100 * code and the remaining arguments are passed in registers, e.g. by calling the
101 * code entry as cast to a function with the signature:
113 * When calling as a non-direct call (i.e., from C++ code), the return address
114 * area is overwritten with the LR register by the RegExp code. When doing a
115 * direct call from generated code, the return address is placed there by
116 * the calling code, as in a normal exit frame.
136 __ jmp(&entry_label_); // We'll write the entry code later.
181 // Pop Code* offset from backtrack stack, add Code* and jump to location.
507 // The emitted code for generic character classes is good enough.
607 // Finalize code - write the entry point code now we know how many
610 // Entry code:
617 // Actually emit code to start a new stack frame.
628 // from generated code.
678 // Initialize code pointer register
718 // Exit code:
815 // Backtrack code (branch target for conditional backtracks).
823 // Preempt-code
838 // Backtrack stack overflow code.
864 // If any of the code above needed to exit with an exception.
873 Handle<Code> code = isolate()->factory()->NewCode(
874 code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject());
875 PROFILE(Isolate::Current(), RegExpCodeCreateEvent(*code, *source));
876 return Handle<HeapObject>::cast(code);
950 __ mov(r0, Operand(target + Code::kHeaderSize - kHeapObjectTag));
1007 // On RegExp code entry (where this operation is used), the character before
1060 // RegExp code frame pointer.
1062 // Code* of self.
1079 Code* re_code,
1099 Handle<Code> code_handle(re_code);
1137 // code cannot be used, and we need to restart regexp matching from
1138 // scratch (including, potentially, compiling a new version of the code).