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

Unified Diff: src/debug/debug.cc

Issue 2049663002: Run more tests with --ignition-generators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/runtime/runtime-generator.cc » ('j') | test/mjsunit/debug-generator-break.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.cc
diff --git a/src/debug/debug.cc b/src/debug/debug.cc
index 79bbad4e5d6fc5833abe225cf2dbc9e39da74577..214d72e7c27abd486a994b5f33b7f7149d29071a 100644
--- a/src/debug/debug.cc
+++ b/src/debug/debug.cc
@@ -1333,6 +1333,7 @@ bool Debug::PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared) {
isolate_->heap()->CollectAllGarbage(Heap::kMakeHeapIterableMask,
"prepare for break points");
+ DCHECK(shared->is_compiled());
Yang 2016/06/08 11:36:55 We have this DCHECK above. Do we really need this?
bool is_interpreted = shared->HasBytecodeArray();
{
« no previous file with comments | « no previous file | src/runtime/runtime-generator.cc » ('j') | test/mjsunit/debug-generator-break.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698