Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: src/hydrogen.h

Issue 23537024: Let BuildStore/BuildLoad distinguish between keyed/named load/stores. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after
2031 Handle<String> name, 2031 Handle<String> name,
2032 Handle<Map> map); 2032 Handle<Map> map);
2033 2033
2034 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); 2034 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map);
2035 2035
2036 void BuildLoad(Property* property, 2036 void BuildLoad(Property* property,
2037 int position, 2037 int position,
2038 BailoutId ast_id); 2038 BailoutId ast_id);
2039 void PushLoad(Property* property, 2039 void PushLoad(Property* property,
2040 HValue* object, 2040 HValue* object,
2041 HValue* key,
2041 int position); 2042 int position);
2042 2043
2043 void BuildStoreInEffect(Expression* expression, 2044 void BuildStoreForEffect(Expression* expression,
2044 Property* prop, 2045 Property* prop,
2045 BailoutId ast_id, 2046 BailoutId ast_id,
2046 BailoutId return_id, 2047 BailoutId return_id,
2047 HValue* object, 2048 HValue* object,
2048 HValue* value); 2049 HValue* key,
2050 HValue* value);
2049 2051
2050 void BuildStoreNamed(Expression* expression, 2052 void BuildStore(Expression* expression,
2051 BailoutId id, 2053 Property* prop,
2052 BailoutId assignment_id, 2054 BailoutId ast_id,
2053 Property* prop, 2055 BailoutId return_id,
2054 HValue* object, 2056 bool is_uninitialized = false);
2055 HValue* value);
2056 2057
2057 HInstruction* BuildStoreNamedField(HValue* object, 2058 HInstruction* BuildStoreNamedField(HValue* object,
2058 Handle<String> name, 2059 Handle<String> name,
2059 HValue* value, 2060 HValue* value,
2060 Handle<Map> map, 2061 Handle<Map> map,
2061 LookupResult* lookup); 2062 LookupResult* lookup);
2062 HInstruction* BuildStoreNamedGeneric(HValue* object, 2063 HInstruction* BuildStoreNamedGeneric(HValue* object,
2063 Handle<String> name, 2064 Handle<String> name,
2064 HValue* value); 2065 HValue* value);
2065 HInstruction* BuildStoreNamedMonomorphic(HValue* object, 2066 HInstruction* BuildStoreNamedMonomorphic(HValue* object,
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
2296 } 2297 }
2297 2298
2298 private: 2299 private:
2299 HGraphBuilder* builder_; 2300 HGraphBuilder* builder_;
2300 }; 2301 };
2301 2302
2302 2303
2303 } } // namespace v8::internal 2304 } } // namespace v8::internal
2304 2305
2305 #endif // V8_HYDROGEN_H_ 2306 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698