1 // Copyright 2016 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "src/lookup-cache.h" 6 7 #include "src/objects-inl.h" 8 9 namespace v8 { 10 namespace internal { 11 Clear()12void DescriptorLookupCache::Clear() { 13 for (int index = 0; index < kLength; index++) keys_[index].source = NULL; 14 } 15 16 } // namespace internal 17 } // namespace v8 18