| Index: src/code-stubs.cc
 | 
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
 | 
| index c66001a1a226fd0174d32257b811194c01cb8c25..5080a1b64a2417ef5f70961f2a4d693b631b5f8f 100644
 | 
| --- a/src/code-stubs.cc
 | 
| +++ b/src/code-stubs.cc
 | 
| @@ -246,6 +246,28 @@ void BinaryOpICStub::GenerateAheadOfTime(Isolate* isolate,
 | 
|  }
 | 
|  
 | 
|  
 | 
| +// static
 | 
| +void BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) {
 | 
| +  // Generate special versions of the stub.
 | 
| +  BinaryOpIC::State::GenerateAheadOfTime(isolate, &GenerateAheadOfTime);
 | 
| +}
 | 
| +
 | 
| +
 | 
| +void BinaryOpICWithAllocationSiteStub::PrintState(StringStream* stream) {
 | 
| +  state_.Print(stream);
 | 
| +}
 | 
| +
 | 
| +
 | 
| +// static
 | 
| +void BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(
 | 
| +    Isolate* isolate, const BinaryOpIC::State& state) {
 | 
| +  if (state.CanCreateAllocationMementos()) {
 | 
| +    BinaryOpICWithAllocationSiteStub stub(state);
 | 
| +    stub.GetCode(isolate);
 | 
| +  }
 | 
| +}
 | 
| +
 | 
| +
 | 
|  void NewStringAddStub::PrintBaseName(StringStream* stream) {
 | 
|    stream->Add("NewStringAddStub");
 | 
|    if ((flags() & STRING_ADD_CHECK_BOTH) == STRING_ADD_CHECK_BOTH) {
 | 
| 
 |