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

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

Issue 23621038: Reland "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') | 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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 if (!stack_[i].is(other.stack_[i])) return false; 464 if (!stack_[i].is(other.stack_[i])) return false;
465 } 465 }
466 return true; 466 return true;
467 } 467 }
468 bool Contains(X87Register reg); 468 bool Contains(X87Register reg);
469 void Fxch(X87Register reg, int other_slot = 0); 469 void Fxch(X87Register reg, int other_slot = 0);
470 void Free(X87Register reg); 470 void Free(X87Register reg);
471 void PrepareToWrite(X87Register reg); 471 void PrepareToWrite(X87Register reg);
472 void CommitWrite(X87Register reg); 472 void CommitWrite(X87Register reg);
473 void FlushIfNecessary(LInstruction* instr, LCodeGen* cgen); 473 void FlushIfNecessary(LInstruction* instr, LCodeGen* cgen);
474 void LeavingBlock(int current_block_id, LGoto* goto_instr);
474 int depth() const { return stack_depth_; } 475 int depth() const { return stack_depth_; }
475 void pop() { 476 void pop() {
476 ASSERT(is_mutable_); 477 ASSERT(is_mutable_);
477 stack_depth_--; 478 stack_depth_--;
478 } 479 }
479 void push(X87Register reg) { 480 void push(X87Register reg) {
480 ASSERT(is_mutable_); 481 ASSERT(is_mutable_);
481 ASSERT(stack_depth_ < X87Register::kNumAllocatableRegisters); 482 ASSERT(stack_depth_ < X87Register::kNumAllocatableRegisters);
482 stack_[stack_depth_] = reg; 483 stack_[stack_depth_] = reg;
483 stack_depth_++; 484 stack_depth_++;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 Label exit_; 566 Label exit_;
566 Label* external_exit_; 567 Label* external_exit_;
567 Label done_; 568 Label done_;
568 int instruction_index_; 569 int instruction_index_;
569 LCodeGen::X87Stack x87_stack_; 570 LCodeGen::X87Stack x87_stack_;
570 }; 571 };
571 572
572 } } // namespace v8::internal 573 } } // namespace v8::internal
573 574
574 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 575 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698