diff options
Diffstat (limited to 'tools/v4/main.cpp')
-rw-r--r-- | tools/v4/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |