Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index f41407f2864f4ef28206870ffc99c36ae86b827b..e0d9af5d1915b64107ffdd02a3bf2c2ea21564b0 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -13491,7 +13491,7 @@ void SharedFunctionInfo::SetScript(Handle<SharedFunctionInfo> shared, |
| } |
| #ifdef DEBUG |
| - { |
| + if (FLAG_enable_slow_asserts) { |
| WeakFixedArray::Iterator iterator(*list); |
| SharedFunctionInfo* next; |
| while ((next = iterator.Next<SharedFunctionInfo>())) { |