From 20a3dc6f14043cf8ff24026a6422513f9b91e934 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 13 Feb 2013 13:41:49 +0100 Subject: [PATCH] Remove unused method Change-Id: I8fdb8febafa996b26d2db503a57788c9ccbf3307 Reviewed-by: Simon Hausmann --- src/v4/qv4isel_masm.cpp | 6 ------ src/v4/qv4isel_masm_p.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/v4/qv4isel_masm.cpp b/src/v4/qv4isel_masm.cpp index 355d8a5..3a8fef3 100644 --- a/src/v4/qv4isel_masm.cpp +++ b/src/v4/qv4isel_masm.cpp @@ -993,12 +993,6 @@ void InstructionSelection::callRuntimeMethodImp(IR::Temp *result, const char* na _as->generateFunctionCallImp(result, name, method, Assembler::ContextRegister, identifier(*baseName->id), baseAddressForCallArguments(), Assembler::TrustedImm32(argc)); } -void InstructionSelection::callRuntimeMethodImp(IR::Temp *result, const char* name, BuiltinMethod method, IR::ExprList *args) -{ - int argc = prepareVariableArguments(args); - _as->generateFunctionCallImp(result, name, method, Assembler::ContextRegister, baseAddressForCallArguments(), Assembler::TrustedImm32(argc)); -} - uint InstructionSelection::addLookup(VM::String *name) { diff --git a/src/v4/qv4isel_masm_p.h b/src/v4/qv4isel_masm_p.h index 953ff7a..da5486e 100644 --- a/src/v4/qv4isel_masm_p.h +++ b/src/v4/qv4isel_masm_p.h @@ -769,7 +769,6 @@ private: typedef VM::Value (*ActivationMethod)(VM::ExecutionContext *, VM::String *name, VM::Value *args, int argc); typedef VM::Value (*BuiltinMethod)(VM::ExecutionContext *, VM::Value *args, int argc); void callRuntimeMethodImp(IR::Temp *result, const char* name, ActivationMethod method, IR::Expr *base, IR::ExprList *args); - void callRuntimeMethodImp(IR::Temp *result, const char* name, BuiltinMethod method, IR::ExprList *args); #define callRuntimeMethod(result, function, ...) \ callRuntimeMethodImp(result, isel_stringIfy(function), function, __VA_ARGS__) -- 2.7.4