#include "src/base/utils/random-number-generator.h"
#include "src/ic/accessor-assembler.h"
#include "src/ic/stub-cache.h"
#include "src/objects/objects-inl.h"
#include "src/objects/smi.h"
#include "test/cctest/cctest.h"
#include "test/cctest/compiler/function-tester.h"
#include "test/common/code-assembler-tester.h"
namespace v8 {
namespace internal {
#include "src/codegen/define-code-stub-assembler-macros.inc"
CodeAssemblerTester;
FunctionTester;
Node;
namespace {
void TestStubCacheOffsetCalculation(StubCache::Table table) { … }
}
TEST(StubCachePrimaryOffset) { … }
TEST(StubCacheSecondaryOffset) { … }
namespace {
Handle<Code> CreateCodeOfKind(CodeKind kind) { … }
}
TEST(TryProbeStubCache) { … }
#include "src/codegen/undef-code-stub-assembler-macros.inc"
}
}