Remove unused method
authorLars Knoll <lars.knoll@digia.com>
Wed, 13 Feb 2013 12:41:49 +0000 (13:41 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Wed, 13 Feb 2013 21:45:43 +0000 (22:45 +0100)
Change-Id: I8fdb8febafa996b26d2db503a57788c9ccbf3307
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/v4/qv4isel_masm.cpp
src/v4/qv4isel_masm_p.h

index 355d8a5..3a8fef3 100644 (file)
@@ -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)
 {
index 953ff7a..da5486e 100644 (file)
@@ -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__)