| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index aa2e1711dc7807432e911347472ea6855d299bef..2ee87e757c2d69c9ed1324550a8f54d5b485c4d3 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -2222,6 +2222,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| BailoutId ast_id,
|
| BailoutId return_id);
|
| bool TryInlineSetter(Handle<JSFunction> setter,
|
| + Handle<Map> receiver_map,
|
| BailoutId id,
|
| BailoutId assignment_id,
|
| HValue* implicit_return_value);
|
| @@ -2235,7 +2236,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| enum ApiCallType {
|
| kCallApiFunction,
|
| kCallApiMethod,
|
| - kCallApiGetter
|
| + kCallApiGetter,
|
| + kCallApiSetter
|
| };
|
| bool TryInlineApiMethodCall(Call* expr,
|
| HValue* receiver,
|
| @@ -2244,6 +2246,9 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| bool TryInlineApiGetter(Handle<JSFunction> function,
|
| Handle<Map> receiver_map,
|
| BailoutId ast_id);
|
| + bool TryInlineApiSetter(Handle<JSFunction> function,
|
| + Handle<Map> receiver_map,
|
| + BailoutId ast_id);
|
| bool TryInlineApiCall(Handle<JSFunction> function,
|
| HValue* receiver,
|
| SmallMapList* receiver_maps,
|
|
|