Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
63 * positions from end of string or code location from Code* pointer).
64 * - r8 : Code object pointer. Used to convert between absolute and
65 * code-object-relative addresses.
70 * kRootRegister) aren't special during execution of RegExp code (they don't
71 * hold the values assumed when creating JS code), so no Smi or Root related
79 * - direct_call (if 1, direct call from JavaScript code, if 0 call
104 * The first seven values must be provided by the calling code by
105 * calling the code's entry address cast to a function pointer with the
136 __ jmp(&entry_label_); // We'll write the entry code when we know more.
176 // Pop Code* offset from backtrack stack, add Code* and jump to location.
252 // If length is negative, this code will fail (it's a symptom of a partial or
255 // closed before in the reg-exp, and we must not generate code that can cause
561 // The emitted code for generic character classes is good enough.
667 // Finalize code - write the entry point code now we know how many
669 // Entry code:
676 // Actually emit code to start a new stack frame.
776 // Initialize code object pointer.
818 // Exit code:
914 // Backtrack code (branch target for conditional backtracks).
922 // Preempt-code
944 // Backtrack stack overflow code.
990 // If any of the code above needed to exit with an exception.
1002 Handle<Code> code = isolate->factory()->NewCode(
1003 code_desc, Code::ComputeFlags(Code::REGEXP),
1005 PROFILE(isolate, RegExpCodeCreateEvent(*code, *source));
1006 return Handle<HeapObject>::cast(code);
1103 // On RegExp code entry (where this operation is used), the character before
1158 // Second argument: Code* of self. (Do this before overwriting r8).
1160 // Third argument: RegExp code frame pointer.
1166 // Third argument: RegExp code frame pointer.
1168 // Second argument: Code* of self.
1188 Code* re_code,
1208 Handle<Code> code_handle(re_code);
1246 // code cannot be used, and we need to restart regexp matching from
1247 // scratch (including, potentially, compiling a new version of the code).
1356 // Patch the relative offset to be relative to the Code object pointer
1363 + Code::kHeaderSize