// static
+void BinaryOpWithAllocationSiteStub::InstallDescriptors(Isolate* isolate) {
+ BinaryOpWithAllocationSiteStub stub(Token::ADD, NO_OVERWRITE);
+ InstallDescriptor(isolate, &stub);
+}
+
+
+// static
void NewStringAddStub::InstallDescriptors(Isolate* isolate) {
NewStringAddStub stub(STRING_ADD_CHECK_NONE, NOT_TENURED);
InstallDescriptor(isolate, &stub);
class BinaryOpWithAllocationSiteStub V8_FINAL : public BinaryOpICStub {
public:
+ BinaryOpWithAllocationSiteStub(Token::Value op, OverwriteMode mode)
+ : BinaryOpICStub(op, mode) {}
+
explicit BinaryOpWithAllocationSiteStub(const BinaryOpIC::State& state)
: BinaryOpICStub(state) {}
stub.InitializeInterfaceDescriptor(
this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray));
BinaryOpICStub::InstallDescriptors(this);
+ BinaryOpWithAllocationSiteStub::InstallDescriptors(this);
CompareNilICStub::InitializeForIsolate(this);
ToBooleanStub::InitializeForIsolate(this);
ArrayConstructorStubBase::InstallDescriptors(this);