Commit f754bce1 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Be sure to also register the BinaryOpWithAllocationSiteStub.

R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/131483003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18516 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3286bc71
......@@ -770,6 +770,13 @@ void BinaryOpICStub::InstallDescriptors(Isolate* isolate) {
}
// 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);
......
......@@ -1171,6 +1171,9 @@ class BinaryOpICWithAllocationSiteStub V8_FINAL : public PlatformCodeStub {
class BinaryOpWithAllocationSiteStub V8_FINAL : public BinaryOpICStub {
public:
BinaryOpWithAllocationSiteStub(Token::Value op, OverwriteMode mode)
: BinaryOpICStub(op, mode) {}
explicit BinaryOpWithAllocationSiteStub(const BinaryOpIC::State& state)
: BinaryOpICStub(state) {}
......
......@@ -2099,6 +2099,7 @@ bool Isolate::Init(Deserializer* des) {
stub.InitializeInterfaceDescriptor(
this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray));
BinaryOpICStub::InstallDescriptors(this);
BinaryOpWithAllocationSiteStub::InstallDescriptors(this);
CompareNilICStub::InitializeForIsolate(this);
ToBooleanStub::InitializeForIsolate(this);
ArrayConstructorStubBase::InstallDescriptors(this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment