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

Unified Diff: src/factory.cc

Issue 1185313002: --print-scopes should ignore native code, even ones parsed lazily. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@debugger
Patch Set: Created 5 years, 6 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 | « no previous file | src/scopes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 444f6e312e9a0e84f304f0f455ef54d155dc2784..3827fee5a5b62bb1a342b57ac408fa870f97f416 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -2274,8 +2274,6 @@ Handle<DebugInfo> Factory::NewDebugInfo(Handle<SharedFunctionInfo> shared) {
// Get the original code of the function.
Handle<Code> code(shared->code());
- DCHECK(code->has_debug_break_slots());
adamk 2015/06/16 16:04:28 Is this a stray from some other patch?
-
// Create a copy of the code before allocating the debug info object to avoid
// allocation while setting up the debug info object.
Handle<Code> original_code(*Factory::CopyCode(code));
« no previous file with comments | « no previous file | src/scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698