Commit 92d6c40 1 parent 1b47866 commit 92d6c40 Copy full SHA for 92d6c40
File tree 3 files changed +7
-7
lines changed
deps/v8/src/regexp/riscv64
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 36
36
37
37
# Reset this number to 0 on major V8 upgrades.
38
38
# Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string' : '-node.13 ' ,
39
+ 'v8_embedder_string' : '-node.14 ' ,
40
40
41
41
##### V8 defaults for Node.js #####
42
42
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ namespace internal {
23
23
* This assembler uses the following register assignment convention
24
24
* - s3 : kScratchReg. Temporarily stores the index of capture start after a matching pass
25
25
* for a global regexp.
26
- * - a5 : Pointer to current Code object including heap object tag.
27
- * - a6 : Current position in input, as negative offset from end of string.
26
+ * - s4 : Pointer to current Code object including heap object tag.
27
+ * - s1 : Current position in input, as negative offset from end of string.
28
28
* Please notice that this is the byte offset, not the character offset!
29
- * - a7 : Currently loaded character. Must be loaded using
29
+ * - s2 : Currently loaded character. Must be loaded using
30
30
* LoadCurrentCharacter before using any of the dispatch methods.
31
31
* - t0 : Points to tip of backtrack stack
32
32
* - t1 : Unused.
Original file line number Diff line number Diff line change @@ -155,10 +155,10 @@ class V8_EXPORT_PRIVATE RegExpMacroAssemblerRISCV
155
155
156
156
// Register holding the current input position as negative offset from
157
157
// the end of the string.
158
- static constexpr Register current_input_offset () { return a6 ; }
158
+ static constexpr Register current_input_offset () { return s1 ; }
159
159
160
160
// The register containing the current character after LoadCurrentCharacter.
161
- static constexpr Register current_character () { return a7 ; }
161
+ static constexpr Register current_character () { return s2 ; }
162
162
163
163
// Register holding address of the end of the input string.
164
164
static constexpr Register end_of_input_address () { return t2; }
@@ -172,7 +172,7 @@ class V8_EXPORT_PRIVATE RegExpMacroAssemblerRISCV
172
172
static constexpr Register backtrack_stackpointer () { return t0; }
173
173
174
174
// Register holding pointer to the current code object.
175
- static constexpr Register code_pointer () { return a5 ; }
175
+ static constexpr Register code_pointer () { return s4 ; }
176
176
177
177
// Byte size of chars in the string to match (decided by the Mode argument).
178
178
inline int char_size () const { return static_cast <int >(mode_); }
You can’t perform that action at this time.
0 commit comments