Line data Source code
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 :
12 53389 : void DescriptorLookupCache::Clear() {
13 53389 : for (int index = 0; index < kLength; index++) keys_[index].source = NULL;
14 53389 : }
15 :
16 : } // namespace internal
17 : } // namespace v8
|