From e0cee9b3ed82e2391fd85d118aeaa4ea361c687d Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Wed, 25 May 2011 10:26:03 +0100 Subject: Update V8 to r7079 as required by WebKit r80534. Change-Id: I487c152e485d5a40b68997d7c0d2f1fba5da0834 --- src/regexp-macro-assembler.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/regexp-macro-assembler.cc') diff --git a/src/regexp-macro-assembler.cc b/src/regexp-macro-assembler.cc index 09797ca2..51f4015f 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(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, -- cgit v1.2.3