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

Unified Diff: src/compiler.h

Issue 1520373002: Deprecate ability to generate stubs via Compiler class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 759728b0a285f68bdb1aec751a77de9fce15ceba..1e11e1762834848d49346e63fb1da0cd51c476fe 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -314,13 +314,6 @@ class CompilationInfo {
set_output_code_kind(Code::OPTIMIZED_FUNCTION);
}
- void SetFunctionType(Type::FunctionType* function_type) {
- function_type_ = function_type;
- }
- Type::FunctionType* function_type() const { return function_type_; }
-
- void SetStub(CodeStub* code_stub);
-
// Deoptimization support.
bool HasDeoptimizationSupport() const {
return GetFlag(kDeoptimizationSupport);
@@ -525,8 +518,6 @@ class CompilationInfo {
// The current OSR frame for specialization or {nullptr}.
JavaScriptFrame* osr_frame_ = nullptr;
- Type::FunctionType* function_type_;
-
const char* debug_name_;
DISALLOW_COPY_AND_ASSIGN(CompilationInfo);
@@ -651,8 +642,6 @@ 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);
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698