Cleaned up Hydrogen function signatures related to property access.

This is a refactoring-only CL and the first one in a series for enabling
inlining of accessors. The naming and argument order has been unified a bit, and
some tests have been pushed to the caller in order to get a simpler
signature. Note that the latter temporarily introduces some code redundancy, but
this will be cleaned up in one of the next CLs.

Review URL: https://chromiumcodereview.appspot.com/10826028

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12198 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d37695e3
This diff is collapsed.
......@@ -1089,13 +1089,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,
......@@ -1147,29 +1147,27 @@ class HGraphBuilder: public AstVisitor {
bool is_store,
bool* has_side_effects);
HInstruction* BuildCallGetter(HValue* obj,
Property* expr,
HInstruction* BuildCallGetter(HValue* object,
Handle<Map> map,
Handle<Object> callback,
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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment