Index: src/regexp-macro-assembler.cc |
diff --git a/src/regexp-macro-assembler.cc b/src/regexp-macro-assembler.cc |
index 09797ca2a4f80165c008b950c1cc5ab5a0bc83a9..51f4015f6cf35da4daf2f1a344a139cea385ab45 100644 |
--- a/src/regexp-macro-assembler.cc |
+++ b/src/regexp-macro-assembler.cc |
@@ -154,16 +154,12 @@ NativeRegExpMacroAssembler::Result NativeRegExpMacroAssembler::Execute( |
const byte* input_start, |
const byte* input_end, |
int* output) { |
- typedef int (*matcher)(String*, int, const byte*, |
- const byte*, int*, Address, int); |
- matcher matcher_func = FUNCTION_CAST<matcher>(code->entry()); |
- |
// Ensure that the minimum stack has been allocated. |
RegExpStack stack; |
Address stack_base = RegExpStack::stack_base(); |
int direct_call = 0; |
- int result = CALL_GENERATED_REGEXP_CODE(matcher_func, |
+ int result = CALL_GENERATED_REGEXP_CODE(code->entry(), |
input, |
start_offset, |
input_start, |