#include "src/compiler/js-typed-lowering.h"
#include "src/compiler/access-builder.h"
#include "src/compiler/compilation-dependencies.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/js-operator.h"
#include "src/compiler/machine-operator.h"
#include "src/execution/isolate-inl.h"
#include "test/unittests/compiler/graph-unittest.h"
#include "test/unittests/compiler/node-test-utils.h"
#include "testing/gmock-support.h"
_;
BitEq;
IsNaN;
namespace v8 {
namespace internal {
namespace compiler {
namespace {
const size_t kIndices[] = …;
Type const kJSTypes[] = …;
}
class JSTypedLoweringTest : public TypedGraphTest { … };
TEST_F(JSTypedLoweringTest, JSToNameWithString) { … }
TEST_F(JSTypedLoweringTest, JSToNameWithSymbol) { … }
TEST_F(JSTypedLoweringTest, JSToNameWithAny) { … }
TEST_F(JSTypedLoweringTest, JSToNumberWithPlainPrimitive) { … }
TEST_F(JSTypedLoweringTest, JSToObjectWithAny) { … }
TEST_F(JSTypedLoweringTest, JSToObjectWithReceiver) { … }
TEST_F(JSTypedLoweringTest, JSToStringWithBoolean) { … }
namespace {
FeedbackSource FeedbackSourceWithOneBinarySlot(JSTypedLoweringTest* R) { … }
FeedbackSource FeedbackSourceWithOneCompareSlot(JSTypedLoweringTest* R) { … }
}
TEST_F(JSTypedLoweringTest, JSStrictEqualWithTheHole) { … }
TEST_F(JSTypedLoweringTest, JSStrictEqualWithUnique) { … }
TEST_F(JSTypedLoweringTest, JSShiftLeftWithSigned32AndConstant) { … }
TEST_F(JSTypedLoweringTest, JSShiftLeftWithSigned32AndUnsigned32) { … }
TEST_F(JSTypedLoweringTest, JSShiftRightWithSigned32AndConstant) { … }
TEST_F(JSTypedLoweringTest, JSShiftRightWithSigned32AndUnsigned32) { … }
TEST_F(JSTypedLoweringTest,
JSShiftRightLogicalWithUnsigned32AndConstant) { … }
TEST_F(JSTypedLoweringTest, JSShiftRightLogicalWithUnsigned32AndUnsigned32) { … }
TEST_F(JSTypedLoweringTest, JSLoadContext) { … }
TEST_F(JSTypedLoweringTest, JSStoreContext) { … }
TEST_F(JSTypedLoweringTest, JSLoadNamedStringLength) { … }
TEST_F(JSTypedLoweringTest, JSAddWithString) { … }
}
}
}