| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 28f61c5aebb7a9365ed697260182228cd6ec5f5e..ea8aba24d372e9e881a77096851a2b74aa96a9e4 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -1040,6 +1040,12 @@ class HGraphBuilder: public AstVisitor {
|
|
|
| bool TryInlineCall(Call* expr, bool drop_extra = false);
|
| bool TryInlineConstruct(CallNew* expr, HValue* receiver);
|
| + bool TryInlineGetter(Handle<JSFunction> getter,
|
| + int ast_id,
|
| + int return_id);
|
| + bool TryInlineSetter(Handle<JSFunction> setter,
|
| + int ast_id,
|
| + int return_id);
|
| bool TryInlineBuiltinMethodCall(Call* expr,
|
| HValue* receiver,
|
| Handle<Map> receiver_map,
|
| @@ -1089,13 +1095,13 @@ class HGraphBuilder: public AstVisitor {
|
| HInstruction* BuildIncrement(bool returns_original_input,
|
| CountOperation* expr);
|
| HLoadNamedField* BuildLoadNamedField(HValue* object,
|
| - Property* expr,
|
| - Handle<Map> type,
|
| + Handle<Map> map,
|
| LookupResult* result,
|
| bool smi_and_map_check);
|
| - HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr);
|
| - HInstruction* BuildLoadKeyedGeneric(HValue* object,
|
| - HValue* key);
|
| + HInstruction* BuildLoadNamedGeneric(HValue* object,
|
| + Handle<String> name,
|
| + Property* expr);
|
| + HInstruction* BuildLoadKeyedGeneric(HValue* object, HValue* key);
|
| HInstruction* BuildExternalArrayElementAccess(
|
| HValue* external_elements,
|
| HValue* checked_key,
|
| @@ -1148,28 +1154,30 @@ class HGraphBuilder: public AstVisitor {
|
| bool* has_side_effects);
|
|
|
| HInstruction* BuildCallGetter(HValue* obj,
|
| - Property* expr,
|
| Handle<Map> map,
|
| - Handle<Object> callback,
|
| + Handle<AccessorPair> accessors,
|
| Handle<JSObject> holder);
|
| + bool LookupAccessorPair(Handle<Map> map,
|
| + Handle<String> name,
|
| + Handle<AccessorPair>* accessors,
|
| + Handle<JSObject>* holder);
|
| HInstruction* BuildLoadNamed(HValue* object,
|
| - Property* prop,
|
| - Handle<Map> map,
|
| - Handle<String> name);
|
| + Handle<String> name,
|
| + Property* expr,
|
| + Handle<Map> map);
|
| HInstruction* BuildCallSetter(HValue* object,
|
| - Handle<String> name,
|
| HValue* value,
|
| Handle<Map> map,
|
| - Handle<Object> callback,
|
| + Handle<AccessorPair> accessors,
|
| Handle<JSObject> holder);
|
| HInstruction* BuildStoreNamed(HValue* object,
|
| + Handle<String> name,
|
| HValue* value,
|
| - Handle<Map> type,
|
| - Expression* key);
|
| + Handle<Map> map);
|
| HInstruction* BuildStoreNamedField(HValue* object,
|
| Handle<String> name,
|
| HValue* value,
|
| - Handle<Map> type,
|
| + Handle<Map> map,
|
| LookupResult* lookup,
|
| bool smi_and_map_check);
|
| HInstruction* BuildStoreNamedGeneric(HValue* object,
|
|
|