| Index: src/full-codegen.h
|
| diff --git a/src/full-codegen.h b/src/full-codegen.h
|
| index fbb697924627935aa6536c2d27471219b8f80cc8..8695a2001fec002082fa7cac18bf637931b146d1 100644
|
| --- a/src/full-codegen.h
|
| +++ b/src/full-codegen.h
|
| @@ -394,7 +394,7 @@ class FullCodeGenerator: public AstVisitor {
|
|
|
| // Record a call's return site offset, used to rebuild the frame if the
|
| // called function was inlined at the site.
|
| - void RecordJSReturnSite(Call* call);
|
| + void RecordJSReturnSite(CallBase* call);
|
|
|
| // Prepare for bailout before a test (or compare) and branch. If
|
| // should_normalize, then the following comparison will not handle the
|
| @@ -425,10 +425,16 @@ class FullCodeGenerator: public AstVisitor {
|
| // Platform-specific return sequence
|
| void EmitReturnSequence();
|
|
|
| - // Platform-specific code sequences for calls
|
| + // Platform-specific code sequence for calls
|
| void EmitCallWithStub(Call* expr, CallFunctionFlags flags);
|
| - void EmitCallWithIC(Call* expr, Handle<Object> name, RelocInfo::Mode mode);
|
| - void EmitKeyedCallWithIC(Call* expr, Expression* key);
|
| +
|
| + // Platform-specific code sequences for calls and constructor calls
|
| + void EmitCallWithIC(CallBase* expr,
|
| + Handle<Object> name,
|
| + RelocInfo::Mode mode);
|
| + void EmitKeyedCallWithIC(CallBase* expr,
|
| + Expression* key,
|
| + RelocInfo::Mode mode);
|
|
|
| // Platform-specific code for inline runtime calls.
|
| InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id);
|
|
|