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

Side by Side Diff: src/arm/lithium-codegen-arm.h

Issue 6708085: Enable GVN for polymorphic loads by not expanding them at the HIR level. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 Condition EmitIsObject(Register input, 257 Condition EmitIsObject(Register input,
258 Register temp1, 258 Register temp1,
259 Register temp2, 259 Register temp2,
260 Label* is_not_object, 260 Label* is_not_object,
261 Label* is_object); 261 Label* is_object);
262 262
263 // Emits optimized code for %_IsConstructCall(). 263 // Emits optimized code for %_IsConstructCall().
264 // Caller should branch on equal condition. 264 // Caller should branch on equal condition.
265 void EmitIsConstructCall(Register temp1, Register temp2); 265 void EmitIsConstructCall(Register temp1, Register temp2);
266 266
267 void EmitLoadField(Register result,
268 Register object,
269 Handle<Map> type,
270 Handle<String> name);
271
267 LChunk* const chunk_; 272 LChunk* const chunk_;
268 MacroAssembler* const masm_; 273 MacroAssembler* const masm_;
269 CompilationInfo* const info_; 274 CompilationInfo* const info_;
270 275
271 int current_block_; 276 int current_block_;
272 int current_instruction_; 277 int current_instruction_;
273 const ZoneList<LInstruction*>* instructions_; 278 const ZoneList<LInstruction*>* instructions_;
274 ZoneList<LEnvironment*> deoptimizations_; 279 ZoneList<LEnvironment*> deoptimizations_;
275 ZoneList<Handle<Object> > deoptimization_literals_; 280 ZoneList<Handle<Object> > deoptimization_literals_;
276 int inlined_function_count_; 281 int inlined_function_count_;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 private: 320 private:
316 LCodeGen* codegen_; 321 LCodeGen* codegen_;
317 Label entry_; 322 Label entry_;
318 Label exit_; 323 Label exit_;
319 Label* external_exit_; 324 Label* external_exit_;
320 }; 325 };
321 326
322 } } // namespace v8::internal 327 } } // namespace v8::internal
323 328
324 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 329 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698