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

Side by Side Diff: src/x64/lithium-codegen-x64.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/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 Safepoint::DeoptMode mode); 263 Safepoint::DeoptMode mode);
264 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 264 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
265 void RecordSafepoint(Safepoint::DeoptMode mode); 265 void RecordSafepoint(Safepoint::DeoptMode mode);
266 void RecordSafepointWithRegisters(LPointerMap* pointers, 266 void RecordSafepointWithRegisters(LPointerMap* pointers,
267 int arguments, 267 int arguments,
268 Safepoint::DeoptMode mode); 268 Safepoint::DeoptMode mode);
269 void RecordAndWritePosition(int position) V8_OVERRIDE; 269 void RecordAndWritePosition(int position) V8_OVERRIDE;
270 270
271 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 271 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
272 void EmitGoto(int block); 272 void EmitGoto(int block);
273
274 // EmitBranch expects to be the last instruction of a block.
273 template<class InstrType> 275 template<class InstrType>
274 void EmitBranch(InstrType instr, Condition cc); 276 void EmitBranch(InstrType instr, Condition cc);
275 template<class InstrType> 277 template<class InstrType>
276 void EmitFalseBranch(InstrType instr, Condition cc); 278 void EmitFalseBranch(InstrType instr, Condition cc);
277 void EmitNumberUntagD( 279 void EmitNumberUntagD(
278 Register input, 280 Register input,
279 XMMRegister result, 281 XMMRegister result,
280 bool allow_undefined_as_nan, 282 bool allow_undefined_as_nan,
281 bool deoptimize_on_minus_zero, 283 bool deoptimize_on_minus_zero,
282 LEnvironment* env, 284 LEnvironment* env,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 Label entry_; 412 Label entry_;
411 Label exit_; 413 Label exit_;
412 Label done_; 414 Label done_;
413 Label* external_exit_; 415 Label* external_exit_;
414 int instruction_index_; 416 int instruction_index_;
415 }; 417 };
416 418
417 } } // namespace v8::internal 419 } } // namespace v8::internal
418 420
419 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 421 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698