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

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

Issue 68933009: Fix usage of EmitBranch in compare-minus-zero-and-branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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/arm/lithium-codegen-arm.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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 int arguments, 290 int arguments,
291 Safepoint::DeoptMode mode); 291 Safepoint::DeoptMode mode);
292 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, 292 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers,
293 int arguments, 293 int arguments,
294 Safepoint::DeoptMode mode); 294 Safepoint::DeoptMode mode);
295 295
296 void RecordAndWritePosition(int position) V8_OVERRIDE; 296 void RecordAndWritePosition(int position) V8_OVERRIDE;
297 297
298 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 298 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
299 void EmitGoto(int block); 299 void EmitGoto(int block);
300
301 // EmitBranch expects to be the last instruction of a block.
300 template<class InstrType> 302 template<class InstrType>
301 void EmitBranch(InstrType instr, Condition condition); 303 void EmitBranch(InstrType instr, Condition condition);
302 template<class InstrType> 304 template<class InstrType>
303 void EmitFalseBranch(InstrType instr, Condition condition); 305 void EmitFalseBranch(InstrType instr, Condition condition);
304 void EmitNumberUntagD(Register input, 306 void EmitNumberUntagD(Register input,
305 DwVfpRegister result, 307 DwVfpRegister result,
306 bool allow_undefined_as_nan, 308 bool allow_undefined_as_nan,
307 bool deoptimize_on_minus_zero, 309 bool deoptimize_on_minus_zero,
308 LEnvironment* env, 310 LEnvironment* env,
309 NumberUntagDMode mode); 311 NumberUntagDMode mode);
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 LCodeGen* codegen_; 458 LCodeGen* codegen_;
457 Label entry_; 459 Label entry_;
458 Label exit_; 460 Label exit_;
459 Label* external_exit_; 461 Label* external_exit_;
460 int instruction_index_; 462 int instruction_index_;
461 }; 463 };
462 464
463 } } // namespace v8::internal 465 } } // namespace v8::internal
464 466
465 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 467 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698