| Index: src/regexp/mips64/regexp-macro-assembler-mips64.cc
|
| diff --git a/src/regexp/mips64/regexp-macro-assembler-mips64.cc b/src/regexp/mips64/regexp-macro-assembler-mips64.cc
|
| index 5153bd018b7465574ada3258db584e7923d8fc72..38e3139385d0198d85b336559e42e7710999bf1b 100644
|
| --- a/src/regexp/mips64/regexp-macro-assembler-mips64.cc
|
| +++ b/src/regexp/mips64/regexp-macro-assembler-mips64.cc
|
| @@ -74,28 +74,37 @@ namespace internal {
|
| *
|
| * The N64 stack will have the following structure:
|
| *
|
| - * - fp[88] Isolate* isolate (address of the current isolate) kIsolate
|
| - * - fp[80] secondary link/return address used by exit frame on native call. kSecondaryReturnAddress
|
| + * - fp[88] Isolate* isolate (address of the current isolate) kIsolate
|
| + * - fp[80] secondary link/return address used by exit frame on native call.
|
| + kSecondaryReturnAddress
|
| kStackFrameHeader
|
| * --- sp when called ---
|
| - * - fp[72] ra Return from RegExp code (ra). kReturnAddress
|
| + * - fp[72] ra Return from RegExp code (ra). kReturnAddress
|
| * - fp[64] s9, old-fp Old fp, callee saved(s9).
|
| * - fp[0..63] s0..s7 Callee-saved registers s0..s7.
|
| * --- frame pointer ----
|
| - * - fp[-8] direct_call (1 = direct call from JS, 0 = from runtime) kDirectCall
|
| - * - fp[-16] stack_base (Top of backtracking stack). kStackHighEnd
|
| - * - fp[-24] capture array size (may fit multiple sets of matches) kNumOutputRegisters
|
| - * - fp[-32] int* capture_array (int[num_saved_registers_], for output). kRegisterOutput
|
| - * - fp[-40] end of input (address of end of string). kInputEnd
|
| - * - fp[-48] start of input (address of first character in string). kInputStart
|
| - * - fp[-56] start index (character index of start). kStartIndex
|
| - * - fp[-64] void* input_string (location of a handle containing the string). kInputString
|
| - * - fp[-72] success counter (only for global regexps to count matches). kSuccessfulCaptures
|
| - * - fp[-80] Offset of location before start of input (effectively character kStringStartMinusOne
|
| + * - fp[-8] direct_call (1 = direct call from JS, 0 = from runtime)
|
| + kDirectCall
|
| + * - fp[-16] stack_base (Top of backtracking stack). kStackHighEnd
|
| + * - fp[-24] capture array size (may fit multiple sets of matches)
|
| + kNumOutputRegisters
|
| + * - fp[-32] int* capture_array (int[num_saved_registers_], for output).
|
| + kRegisterOutput
|
| + * - fp[-40] end of input (address of end of string). kInputEnd
|
| + * - fp[-48] start of input (address of first character in string).
|
| + kInputStart
|
| + * - fp[-56] start index (character index of start). kStartIndex
|
| + * - fp[-64] void* input_string (location of a handle containing the string).
|
| + kInputString
|
| + * - fp[-72] success counter (only for global regexps to count matches).
|
| + kSuccessfulCaptures
|
| + * - fp[-80] Offset of location before start of input (effectively character
|
| + kStringStartMinusOne
|
| * position -1). Used to initialize capture registers to a
|
| * non-position.
|
| * --------- The following output registers are 32-bit values. ---------
|
| - * - fp[-88] register 0 (Only positions must be stored in the first kRegisterZero
|
| + * - fp[-88] register 0 (Only positions must be stored in the first
|
| + kRegisterZero
|
| * - register 1 num_saved_registers_ registers)
|
| * - ...
|
| * - register num_registers-1
|
|
|