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

Unified Diff: src/deoptimizer.h

Issue 919953002: CPUProfiler: Push deopt reason further to ProfileNode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index 35c3cbe66c49a7517fbf87f9c1779ede62f5192c..e48848a4755263c38f212e024208266499607689 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -188,14 +188,6 @@ class Deoptimizer : public Malloced {
DeoptInfo(int r, const char* m, DeoptReason d)
: raw_position(r), mnemonic(m), deopt_reason(d) {}
- bool operator==(const DeoptInfo& other) const {
- return raw_position == other.raw_position &&
- CStringEquals(mnemonic, other.mnemonic) &&
- deopt_reason == other.deopt_reason;
- }
-
- bool operator!=(const DeoptInfo& other) const { return !(*this == other); }
-
int raw_position;
const char* mnemonic;
DeoptReason deopt_reason;
@@ -214,8 +206,7 @@ class Deoptimizer : public Malloced {
bool IsEquivalentTo(const JumpTableEntry& other) const {
return address == other.address && bailout_type == other.bailout_type &&
- needs_frame == other.needs_frame &&
- (!FLAG_trace_deopt || deopt_info == other.deopt_info);
Sven Panne 2015/02/12 08:42:31 Why has this been removed? In earlier versions we
loislo 2015/02/12 08:54:05 I need to push different entries if FLAG_trace_deo
+ needs_frame == other.needs_frame;
}
Label label;
« no previous file with comments | « src/cpu-profiler-inl.h ('k') | src/ia32/assembler-ia32.cc » ('j') | src/profile-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698