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

Unified Diff: src/compiler.h

Issue 2398023002: [wasm] asm.js - Parse and convert asm.js to wasm a function at a time. (Closed)
Patch Set: revised Created 4 years, 1 month 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 03c6f8199fe105e0cec8480db71f79fd6cf4143a..395d21c9fbfe1cfb0c9d3789ede07c2acc7c6389 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -72,6 +72,9 @@ class Compiler : public AllStatic {
// Ensures that bytecode is generated, calls ParseAndAnalyze internally.
static bool EnsureBytecode(CompilationInfo* info);
+ static Handle<SharedFunctionInfo> NewSharedFunctionInfoFromLiteral(
titzer 2016/11/28 10:40:11 I think this probably belongs on Factory.
bradn 2016/11/29 06:30:35 Moved the private method there.
+ Isolate* isolate, FunctionLiteral* literal, Handle<Script> script);
+
// The next compilation tier which the function should be compiled to for
// optimization. This is used as a hint by the runtime profiler.
static CompilationTier NextCompilationTier(JSFunction* function);

Powered by Google App Engine
This is Rietveld 408576698