Flutter Engine
The Flutter Engine
megamorphic_cache_table.h
Go to the documentation of this file.
1// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#ifndef RUNTIME_VM_MEGAMORPHIC_CACHE_TABLE_H_
6#define RUNTIME_VM_MEGAMORPHIC_CACHE_TABLE_H_
7
8#include "vm/allocation.h"
9#include "vm/tagged_pointer.h"
10
11namespace dart {
12
13class Array;
14class String;
15class Thread;
16
18 public:
19 static MegamorphicCachePtr Lookup(Thread* thread,
20 const String& name,
21 const Array& descriptor);
22
23 static void PrintSizes(Thread* thread);
24};
25
26} // namespace dart
27
28#endif // RUNTIME_VM_MEGAMORPHIC_CACHE_TABLE_H_
static void PrintSizes(Thread *thread)
static MegamorphicCachePtr Lookup(Thread *thread, const String &name, const Array &descriptor)
Definition: dart_vm.cc:33
const char *const name