[gjs/gnome-3-32] context: Remove lazy flag from evaluated sources
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/gnome-3-32] context: Remove lazy flag from evaluated sources
- Date: Mon, 8 Apr 2019 06:38:02 +0000 (UTC)
commit d588f22f720bb99d2f52b666049238e41875c26d
Author: Philip Chimento <philip chimento gmail com>
Date: Mon Apr 1 22:11:47 2019 -0700
context: Remove lazy flag from evaluated sources
This escaped notice when we removed the lazy flag from all other sources
in commit b032fda4a4c33b07ff9f9f25c1bbc93adc5be316.
gjs/context.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gjs/context.cpp b/gjs/context.cpp
index 54c83623..c0020328 100644
--- a/gjs/context.cpp
+++ b/gjs/context.cpp
@@ -965,7 +965,7 @@ bool GjsContextPrivate::eval_with_scope(JS::HandleObject scope_object,
eval_obj = JS_NewPlainObject(m_cx);
JS::CompileOptions options(m_cx);
- options.setFileAndLine(filename, start_line_number).setSourceIsLazy(true);
+ options.setFileAndLine(filename, start_line_number);
#if defined(G_OS_WIN32) && (defined(_MSC_VER) && (_MSC_VER >= 1900))
std::wstring wscript = gjs_win32_vc140_utf8_to_utf16(script);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]