From cf2a253f2f60c9f0c61682527d80143e72b355d4 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 25 Sep 2013 12:24:36 +0200 Subject: Move Value::fromBool, ... to a new Primitive class This will simplify finding the remaining direct usages of QV4::Value that need fixing. Change-Id: I223099727436d5748027c84c53d9dfc4028e38ed Reviewed-by: Simon Hausmann --- tools/v4/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/v4/main.cpp b/tools/v4/main.cpp index 8e9a880ccd..38329b8289 100644 --- a/tools/v4/main.cpp +++ b/tools/v4/main.cpp @@ -85,7 +85,7 @@ struct Print: FunctionObject std::cout << qPrintable(s); } std::cout << std::endl; - return Value::undefinedValue().asReturnedValue(); + return Encode::undefined(); } static const ManagedVTable static_vtbl; @@ -103,7 +103,7 @@ struct GC: public FunctionObject static ReturnedValue call(Managed *m, CallData *) { m->engine()->memoryManager->runGC(); - return Value::undefinedValue().asReturnedValue(); + return Encode::undefined(); } static const ManagedVTable static_vtbl; -- cgit v1.2.3