Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 8ac0eea7efb306468ea76dc8b85b0f8fffeaf454..7f7933301917c5b3311dc13a3c2d656845515ed3 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -402,8 +402,6 @@ class CompilationInfo { |
bool has_simple_parameters(); |
- Handle<Code> GenerateCodeStub(); |
Michael Starzinger
2015/08/21 16:24:30
Pretty please, with a cherry on top, let's not put
|
- |
typedef std::vector<Handle<SharedFunctionInfo>> InlinedFunctionList; |
InlinedFunctionList const& inlined_functions() const { |
return inlined_functions_; |
@@ -623,9 +621,13 @@ class Compiler : public AllStatic { |
Handle<JSFunction> function); |
MUST_USE_RESULT static MaybeHandle<Code> GetLazyCode( |
Handle<JSFunction> function); |
+ MUST_USE_RESULT static MaybeHandle<Code> GetStubCode( |
+ Handle<JSFunction> function, CodeStub* stub); |
+ static bool Compile(Handle<JSFunction> function, ClearExceptionFlag flag); |
static bool CompileDebugCode(Handle<JSFunction> function); |
static bool CompileDebugCode(Handle<SharedFunctionInfo> shared); |
+ static void CompileForLiveEdit(Handle<Script> script); |
// Parser::Parse, then Compiler::Analyze. |
static bool ParseAndAnalyze(ParseInfo* info); |
@@ -634,11 +636,6 @@ class Compiler : public AllStatic { |
// Adds deoptimization support, requires ParseAndAnalyze. |
static bool EnsureDeoptimizationSupport(CompilationInfo* info); |
- static bool EnsureCompiled(Handle<JSFunction> function, |
- ClearExceptionFlag flag); |
- |
- static void CompileForLiveEdit(Handle<Script> script); |
- |
// Compile a String source within a context for eval. |
MUST_USE_RESULT static MaybeHandle<JSFunction> GetFunctionFromEval( |
Handle<String> source, Handle<SharedFunctionInfo> outer_info, |