Chromium Code Reviews| 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(); |
| { |