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 : namespace v8 {
8 : namespace internal {
9 :
10 75589 : void DescriptorLookupCache::Clear() {
11 4913285 : for (int index = 0; index < kLength; index++) keys_[index].source = Map();
12 75589 : }
13 :
14 : } // namespace internal
15 122004 : } // namespace v8
|