Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
60 * positions from end of string or code location from Code* pointer).
61 * - r8 : code object pointer. Used to convert between absolute and
62 * code-object-relative addresses.
67 * kRootRegister) aren't special during execution of RegExp code (they don't
68 * hold the values assumed when creating JS code), so no Smi or Root related
76 * - direct_call (if 1, direct call from JavaScript code, if 0 call
99 * The first seven values must be provided by the calling code by
100 * calling the code's entry address cast to a function pointer with the
129 __ jmp(&entry_label_); // We'll write the entry code when we know more.
169 // Pop Code* offset from backtrack stack, add Code* and jump to location.
340 // If length is negative, this code will fail (it's a symptom of a partial or
343 // closed before in the reg-exp, and we must not generate code that can cause
710 // Finalize code - write the entry point code now we know how many
712 // Entry code:
719 // Actually emit code to start a new stack frame.
831 // Initialize code object pointer.
844 // Exit code:
891 // Backtrack code (branch target for conditional backtracks).
899 // Preempt-code
921 // Backtrack stack overflow code.
967 // If any of the code above needed to exit with an exception.
979 Handle<Code> code = isolate->factory()->NewCode(
980 code_desc, Code::ComputeFlags(Code::REGEXP),
982 PROFILE(isolate, RegExpCodeCreateEvent(*code, *source));
983 return Handle<HeapObject>::cast(code);
1080 // On RegExp code entry (where this operation is used), the character before
1134 // Second argument: Code* of self. (Do this before overwriting r8).
1136 // Third argument: RegExp code frame pointer.
1142 // Third argument: RegExp code frame pointer.
1144 // Second argument: Code* of self.
1164 Code* re_code,
1184 Handle<Code> code_handle(re_code);
1222 // code cannot be used, and we need to restart regexp matching from
1223 // scratch (including, potentially, compiling a new version of the code).
1332 // Patch the relative offset to be relative to the Code object pointer
1339 + Code::kHeaderSize