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 83734 : void DescriptorLookupCache::Clear() {
13 83734 : for (int index = 0; index < kLength; index++) keys_[index].source = Map();
14 83734 : }
15 :
16 : } // namespace internal
17 183867 : } // namespace v8
|