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

Unified Diff: src/ic/ic.cc

Issue 2909893002: [debug] Untangle DebugInfo from break point support (Closed)
Patch Set: Port arm,arm64,ia32 Created 3 years, 7 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/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index 8f9b4f1d0edfe24561097ab90cdd28dc15f18113..5a86257373e460d8cc712328669e6a99fadab971 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -1147,7 +1147,7 @@ Handle<Object> LoadIC::GetMapIndependentHandler(LookupIterator* lookup) {
}
// When debugging we need to go the slow path to flood the accessor.
- if (GetHostFunction()->shared()->HasDebugInfo()) {
+ if (GetHostFunction()->shared()->HasBreakInfo()) {
TRACE_HANDLER_STATS(isolate(), LoadIC_SlowStub);
return slow_stub();
}
@@ -1283,7 +1283,7 @@ Handle<Code> LoadIC::CompileHandler(LookupIterator* lookup) {
Handle<Object> accessors = lookup->GetAccessors();
DCHECK(accessors->IsAccessorPair());
DCHECK(holder->HasFastProperties());
- DCHECK(!GetHostFunction()->shared()->HasDebugInfo());
+ DCHECK(!GetHostFunction()->shared()->HasBreakInfo());
Handle<Object> getter(Handle<AccessorPair>::cast(accessors)->getter(),
isolate());
CallOptimization call_optimization(getter);

Powered by Google App Engine
This is Rietveld 408576698