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

Unified Diff: src/compiler.cc

Issue 1304053004: Deprecate semi-correct CompilationInfo::flags predicate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test-pipeline.cc Created 5 years, 4 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
« no previous file with comments | « src/compiler.h ('k') | src/compiler/code-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 76c70acd300cf783be181663ea67b629bec32233..9ce666c911a3edb95498371c81fee474ed993121 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -215,15 +215,6 @@ int CompilationInfo::num_heap_slots() const {
}
-Code::Flags CompilationInfo::flags() const {
- return code_stub() != nullptr
- ? Code::ComputeFlags(
- code_stub()->GetCodeKind(), code_stub()->GetICState(),
- code_stub()->GetExtraICState(), code_stub()->GetStubType())
- : Code::ComputeFlags(Code::OPTIMIZED_FUNCTION);
-}
-
-
// Primitive functions are unlikely to be picked up by the stack-walking
// profiler, so they trigger their own optimization when they're called
// for the SharedFunctionInfo::kCallsUntilPrimitiveOptimization-th time.
« no previous file with comments | « src/compiler.h ('k') | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698