summaryrefslogtreecommitdiff
path: root/deps/v8/src/builtins/builtins-global.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/builtins/builtins-global.cc')
-rw-r--r--deps/v8/src/builtins/builtins-global.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/v8/src/builtins/builtins-global.cc b/deps/v8/src/builtins/builtins-global.cc
index 6c97a0bbad..2af6e99730 100644
--- a/deps/v8/src/builtins/builtins-global.cc
+++ b/deps/v8/src/builtins/builtins-global.cc
@@ -7,6 +7,8 @@
#include "src/code-factory.h"
#include "src/code-stub-assembler.h"
#include "src/compiler.h"
+#include "src/counters.h"
+#include "src/objects-inl.h"
#include "src/uri.h"
namespace v8 {
@@ -92,9 +94,10 @@ BUILTIN(GlobalEval) {
}
Handle<JSFunction> function;
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
- isolate, function, Compiler::GetFunctionFromString(
- handle(target->native_context(), isolate),
- Handle<String>::cast(x), NO_PARSE_RESTRICTION));
+ isolate, function,
+ Compiler::GetFunctionFromString(handle(target->native_context(), isolate),
+ Handle<String>::cast(x),
+ NO_PARSE_RESTRICTION, kNoSourcePosition));
RETURN_RESULT_OR_FAILURE(
isolate,
Execution::Call(isolate, function, target_global_proxy, 0, nullptr));