dart-sdk/runtime/vm/megamorphic_cache_table.h
Ryan Macnak 6b91f92154 [vm] Move megamorphic miss handling into the megamorphic call stub.
This removes the only stub code with a function owner.

Change-Id: I629eb3a1b231430afaf0a2777032bba8eaddd2aa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148124
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2020-05-15 20:28:21 +00:00

30 lines
792 B
C++

// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#ifndef RUNTIME_VM_MEGAMORPHIC_CACHE_TABLE_H_
#define RUNTIME_VM_MEGAMORPHIC_CACHE_TABLE_H_
#include "vm/allocation.h"
#include "vm/tagged_pointer.h"
namespace dart {
class Array;
class Isolate;
class String;
class Thread;
class MegamorphicCacheTable : public AllStatic {
public:
static MegamorphicCachePtr Lookup(Thread* thread,
const String& name,
const Array& descriptor);
static void PrintSizes(Isolate* isolate);
};
} // namespace dart
#endif // RUNTIME_VM_MEGAMORPHIC_CACHE_TABLE_H_