aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/regexp/regexp-macro-assembler.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/regexp/regexp-macro-assembler.h')
-rw-r--r--deps/v8/src/regexp/regexp-macro-assembler.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/deps/v8/src/regexp/regexp-macro-assembler.h b/deps/v8/src/regexp/regexp-macro-assembler.h
index e6bdd842c6..f571c3c5a5 100644
--- a/deps/v8/src/regexp/regexp-macro-assembler.h
+++ b/deps/v8/src/regexp/regexp-macro-assembler.h
@@ -5,7 +5,7 @@
#ifndef V8_REGEXP_REGEXP_MACRO_ASSEMBLER_H_
#define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_H_
-#include "src/assembler.h"
+#include "src/label.h"
#include "src/regexp/regexp-ast.h"
namespace v8 {
@@ -230,11 +230,12 @@ class NativeRegExpMacroAssembler: public RegExpMacroAssembler {
static Address GrowStack(Address stack_pointer, Address* stack_top,
Isolate* isolate);
- static const byte* StringCharacterPosition(String* subject, int start_index);
+ static const byte* StringCharacterPosition(
+ String subject, int start_index, const DisallowHeapAllocation& no_gc);
static int CheckStackGuardState(Isolate* isolate, int start_index,
bool is_direct_call, Address* return_address,
- Code* re_code, String** subject,
+ Code re_code, Address* subject,
const byte** input_start,
const byte** input_end);
@@ -247,14 +248,9 @@ class NativeRegExpMacroAssembler: public RegExpMacroAssembler {
return reinterpret_cast<Address>(&word_character_map[0]);
}
- static Result Execute(Code* code,
- String* input,
- int start_offset,
- const byte* input_start,
- const byte* input_end,
- int* output,
- int output_size,
- Isolate* isolate);
+ static Result Execute(Code code, String input, int start_offset,
+ const byte* input_start, const byte* input_end,
+ int* output, int output_size, Isolate* isolate);
};
#endif // V8_INTERPRETED_REGEXP