Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index bd61c46e36af40afb323d0ea0e24eb66cdd1b654..50b61921f59ed8916841e8a4edfd404a3b66208d 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -166,7 +166,7 @@ RUNTIME_FUNCTION(Runtime_RenderCallSite) { |
Zone zone; |
if (location.function()->shared()->is_function()) { |
CompilationInfo info(location.function(), &zone); |
- if (!Parser::Parse(&info)) { |
+ if (!Parser::ParseStatic(&info)) { |
isolate->clear_pending_exception(); |
return isolate->heap()->empty_string(); |
} |
@@ -176,7 +176,7 @@ RUNTIME_FUNCTION(Runtime_RenderCallSite) { |
} |
CompilationInfo info(location.script(), &zone); |
- if (!Parser::Parse(&info)) { |
+ if (!Parser::ParseStatic(&info)) { |
isolate->clear_pending_exception(); |
return isolate->heap()->empty_string(); |
} |