Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: src/compiler.h

Issue 2163933002: Move CompileString to Compiler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index e2f71479407bccbd139518236500017f7ae0f121..71b01143737a949019b4ca0e3000fbd0c2a54e12 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -93,6 +93,10 @@ class Compiler : public AllStatic {
ScriptCompiler::CompileOptions compile_options,
NativesFlag is_natives_code, bool is_module);
+ MUST_USE_RESULT static MaybeHandle<JSFunction> CompileString(
Michael Starzinger 2016/07/20 12:03:35 Can we call this "GetFunctomFromString" instead. T
Michael Starzinger 2016/07/20 12:05:12 s/GetFunctomFromString/GetFunctionFromString/ of c
jgruber 2016/07/20 12:42:11 Done.
+ Handle<Context> context, Handle<String> source,
+ ParseRestriction restriction);
+
// Create a shared function info object for a Script that has already been
// parsed while the script was being loaded from a streamed source.
static Handle<SharedFunctionInfo> GetSharedFunctionInfoForStreamedScript(
« no previous file with comments | « src/builtins/builtins-global.cc ('k') | src/compiler.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698