Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
34 #include "code-stubs.h"
46 * - t1 : Pointer to current code object (Code*) including heap object tag.
63 * - fp[56] direct_call (if 1, direct call from JavaScript code,
94 * code and the remaining arguments are passed in registers, e.g. by calling the
95 * code entry as cast to a function with the signature:
107 * When calling as a non-direct call (i.e., from C++ code), the return address
108 * area is overwritten with the ra register by the RegExp code. When doing a
109 * direct call from generated code, the return address is placed there by
110 * the calling code, as in a normal exit frame.
129 __ jmp(&entry_label_); // We'll write the entry code later.
130 // If the code gets too big or corrupted, an internal exception will be
179 // Pop Code* offset from backtrack stack, add Code* and jump to location.
603 // If the code gets corrupted due to long regular expressions and lack of
608 // Finalize code - write the entry point code now we know how many
611 // Entry code:
618 // Actually emit code to start a new stack frame.
629 // from generated code.
700 // Initialize code pointer register
713 // Exit code:
763 // Backtrack code (branch target for conditional backtracks).
771 // Preempt-code.
790 // Backtrack stack overflow code.
822 // If any of the code above needed to exit with an exception.
832 Handle<Code> code = FACTORY->NewCode(code_desc,
833 Code::ComputeFlags(Code::REGEXP),
835 LOG(Isolate::Current(), RegExpCodeCreateEvent(*code, *source));
836 return Handle<HeapObject>::cast(code);
906 __ li(a0, Operand(target + Code::kHeaderSize - kHeapObjectTag));
911 int cp_offset = offset + Code::kHeaderSize - kHeapObjectTag;
959 // On RegExp code entry (where this operation is used), the character before
1012 // Code* of self.
1029 Code* re_code,
1049 Handle<Code> code_handle(re_code);
1086 // code cannot be used, and we need to restart regexp matching from
1087 // scratch (including, potentially, compiling a new version of the code).