| Index: src/full-codegen.h
|
| diff --git a/src/full-codegen.h b/src/full-codegen.h
|
| index 8c2835a86dfe5820b958087c266e4cfa7460617c..57283bbaae7783d92206c67a76ea37c1101eb07f 100644
|
| --- a/src/full-codegen.h
|
| +++ b/src/full-codegen.h
|
| @@ -432,7 +432,10 @@ class FullCodeGenerator: public AstVisitor {
|
| Handle<FixedArray> FeedbackVector() {
|
| return info_->feedback_vector();
|
| }
|
| - void EnsureSlotContainsAllocationSite(int slot);
|
| + void EnsureSlotContainsAllocationSite(FeedbackVectorSlot slot);
|
| + Smi* SmiFromSlot(FeedbackVectorSlot slot) const {
|
| + return Smi::FromInt(slot.ToInt());
|
| + }
|
|
|
| // Record a call's return site offset, used to rebuild the frame if the
|
| // called function was inlined at the site.
|
|
|