Remove unused methods
authorLars Knoll <lars.knoll@digia.com>
Tue, 27 Nov 2012 21:59:51 +0000 (22:59 +0100)
committerErik Verbruggen <erik.verbruggen@digia.com>
Wed, 28 Nov 2012 08:57:12 +0000 (09:57 +0100)
Change-Id: I4b0553b1fb6522131a05a66f8cba44bce5192e55
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
qmljs_runtime.cpp

index 1491b01..7182ad0 100644 (file)
@@ -546,32 +546,6 @@ void __qmljs_set_property(ExecutionContext *ctx, Value object, String *name, Val
     object.objectValue()->__put__(ctx, name, value, /*flags*/ 0);
 }
 
-void __qmljs_set_property_boolean(ExecutionContext *ctx, Value *object, String *name, bool b)
-{
-    Value value = Value::fromBoolean(b);
-    object->objectValue()->__put__(ctx, name, value, /*flag*/ 0);
-}
-
-void __qmljs_set_property_number(ExecutionContext *ctx, Value *object, String *name, double number)
-{
-    Q_UNUSED(ctx);
-    Value value = Value::fromDouble(number);
-    object->objectValue()->__put__(ctx, name, value, /*flag*/ 0);
-}
-
-void __qmljs_set_property_string(ExecutionContext *ctx, Value *object, String *name, String *s)
-{
-    Q_UNUSED(ctx);
-    Value value = Value::fromString(s);
-    object->objectValue()->__put__(ctx, name, value, /*flag*/ 0);
-}
-
-void __qmljs_set_property_closure(ExecutionContext *ctx, Value *object, String *name, IR::Function *function)
-{
-    Value value = __qmljs_init_closure(function, ctx);
-    object->objectValue()->__put__(ctx, name, value, /*flag*/ 0);
-}
-
 Value __qmljs_get_element(ExecutionContext *ctx, Value object, Value index)
 {
     if (index.isNumber()) {