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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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 | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 313 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
314 void RecordSafepoint(Safepoint::DeoptMode mode); 314 void RecordSafepoint(Safepoint::DeoptMode mode);
315 void RecordSafepointWithRegisters(LPointerMap* pointers, 315 void RecordSafepointWithRegisters(LPointerMap* pointers,
316 int arguments, 316 int arguments,
317 Safepoint::DeoptMode mode); 317 Safepoint::DeoptMode mode);
318 318
319 void RecordAndWritePosition(int position) V8_OVERRIDE; 319 void RecordAndWritePosition(int position) V8_OVERRIDE;
320 320
321 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 321 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
322 void EmitGoto(int block); 322 void EmitGoto(int block);
323
324 // EmitBranch expects to be the last instruction of a block.
323 template<class InstrType> 325 template<class InstrType>
324 void EmitBranch(InstrType instr, Condition cc); 326 void EmitBranch(InstrType instr, Condition cc);
325 template<class InstrType> 327 template<class InstrType>
326 void EmitFalseBranch(InstrType instr, Condition cc); 328 void EmitFalseBranch(InstrType instr, Condition cc);
327 void EmitNumberUntagD( 329 void EmitNumberUntagD(
328 Register input, 330 Register input,
329 Register temp, 331 Register temp,
330 XMMRegister result, 332 XMMRegister result,
331 bool allow_undefined_as_nan, 333 bool allow_undefined_as_nan,
332 bool deoptimize_on_minus_zero, 334 bool deoptimize_on_minus_zero,
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 Label exit_; 538 Label exit_;
537 Label* external_exit_; 539 Label* external_exit_;
538 Label done_; 540 Label done_;
539 int instruction_index_; 541 int instruction_index_;
540 LCodeGen::X87Stack x87_stack_; 542 LCodeGen::X87Stack x87_stack_;
541 }; 543 };
542 544
543 } } // namespace v8::internal 545 } } // namespace v8::internal
544 546
545 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 547 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698