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

Side by Side Diff: src/hydrogen.h

Issue 22880004: Merged r16139 into trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Add test Created 7 years, 4 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 | « src/code-stubs-hydrogen.cc ('k') | 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 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 HValue* val, 1247 HValue* val,
1248 HValue* dependency, 1248 HValue* dependency,
1249 ElementsKind elements_kind, 1249 ElementsKind elements_kind,
1250 bool is_store, 1250 bool is_store,
1251 LoadKeyedHoleMode load_mode, 1251 LoadKeyedHoleMode load_mode,
1252 KeyedAccessStoreMode store_mode); 1252 KeyedAccessStoreMode store_mode);
1253 1253
1254 HLoadNamedField* BuildLoadNamedField( 1254 HLoadNamedField* BuildLoadNamedField(
1255 HValue* object, 1255 HValue* object,
1256 HObjectAccess access, 1256 HObjectAccess access,
1257 HValue* typecheck = NULL); 1257 HValue* typecheck);
1258 HInstruction* BuildLoadStringLength(HValue* object, HValue* typecheck = NULL); 1258 HInstruction* BuildLoadStringLength(HValue* object, HValue* typecheck);
1259 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); 1259 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>);
1260 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); 1260 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck);
1261 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); 1261 HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
1262 1262
1263 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); 1263 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin);
1264 1264
1265 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); 1265 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected);
1266 1266
1267 void PushAndAdd(HInstruction* instr); 1267 void PushAndAdd(HInstruction* instr);
1268 1268
1269 void FinishExitWithHardDeoptimization(HBasicBlock* continuation); 1269 void FinishExitWithHardDeoptimization(HBasicBlock* continuation);
1270 1270
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
2029 Property* expr); 2029 Property* expr);
2030 HInstruction* BuildCallGetter(HValue* object, 2030 HInstruction* BuildCallGetter(HValue* object,
2031 Handle<Map> map, 2031 Handle<Map> map,
2032 Handle<JSFunction> getter, 2032 Handle<JSFunction> getter,
2033 Handle<JSObject> holder); 2033 Handle<JSObject> holder);
2034 HInstruction* BuildLoadNamedMonomorphic(HValue* object, 2034 HInstruction* BuildLoadNamedMonomorphic(HValue* object,
2035 Handle<String> name, 2035 Handle<String> name,
2036 Property* expr, 2036 Property* expr,
2037 Handle<Map> map); 2037 Handle<Map> map);
2038 2038
2039 void AddCheckMap(HValue* object, Handle<Map> map); 2039 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map);
2040 2040
2041 void BuildStoreNamed(Expression* expression, 2041 void BuildStoreNamed(Expression* expression,
2042 BailoutId id, 2042 BailoutId id,
2043 int position, 2043 int position,
2044 BailoutId assignment_id, 2044 BailoutId assignment_id,
2045 Property* prop, 2045 Property* prop,
2046 HValue* object, 2046 HValue* object,
2047 HValue* store_value, 2047 HValue* store_value,
2048 HValue* result_value); 2048 HValue* result_value);
2049 2049
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
2322 } 2322 }
2323 2323
2324 private: 2324 private:
2325 HGraphBuilder* builder_; 2325 HGraphBuilder* builder_;
2326 }; 2326 };
2327 2327
2328 2328
2329 } } // namespace v8::internal 2329 } } // namespace v8::internal
2330 2330
2331 #endif // V8_HYDROGEN_H_ 2331 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698