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

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

Issue 23068038: Fix phis for non-sse2 double values (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « no previous file | src/ia32/lithium-codegen-ia32.cc » ('j') | src/ia32/lithium-codegen-ia32.cc » ('J')
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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 if (!stack_[i].is(other.stack_[i])) return false; 461 if (!stack_[i].is(other.stack_[i])) return false;
462 } 462 }
463 return true; 463 return true;
464 } 464 }
465 bool Contains(X87Register reg); 465 bool Contains(X87Register reg);
466 void Fxch(X87Register reg, int other_slot = 0); 466 void Fxch(X87Register reg, int other_slot = 0);
467 void Free(X87Register reg); 467 void Free(X87Register reg);
468 void PrepareToWrite(X87Register reg); 468 void PrepareToWrite(X87Register reg);
469 void CommitWrite(X87Register reg); 469 void CommitWrite(X87Register reg);
470 void FlushIfNecessary(LInstruction* instr, LCodeGen* cgen); 470 void FlushIfNecessary(LInstruction* instr, LCodeGen* cgen);
471 void LeavingBlock(int current_block_id, LGoto* goto_instr);
471 int depth() const { return stack_depth_; } 472 int depth() const { return stack_depth_; }
472 void pop() { 473 void pop() {
473 ASSERT(is_mutable_); 474 ASSERT(is_mutable_);
474 stack_depth_--; 475 stack_depth_--;
475 } 476 }
476 void push(X87Register reg) { 477 void push(X87Register reg) {
477 ASSERT(is_mutable_); 478 ASSERT(is_mutable_);
478 ASSERT(stack_depth_ < X87Register::kNumAllocatableRegisters); 479 ASSERT(stack_depth_ < X87Register::kNumAllocatableRegisters);
479 stack_[stack_depth_] = reg; 480 stack_[stack_depth_] = reg;
480 stack_depth_++; 481 stack_depth_++;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 Label exit_; 563 Label exit_;
563 Label* external_exit_; 564 Label* external_exit_;
564 Label done_; 565 Label done_;
565 int instruction_index_; 566 int instruction_index_;
566 LCodeGen::X87Stack x87_stack_; 567 LCodeGen::X87Stack x87_stack_;
567 }; 568 };
568 569
569 } } // namespace v8::internal 570 } } // namespace v8::internal
570 571
571 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 572 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/lithium-codegen-ia32.cc » ('j') | src/ia32/lithium-codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698