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

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

Issue 26236004: Rollback of r17108, r17106, r17104 in trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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 | « src/ia32/deoptimizer-ia32.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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 X87Register left, X87Register right, X87Register result); 114 X87Register left, X87Register right, X87Register result);
115 115
116 void X87LoadForUsage(X87Register reg); 116 void X87LoadForUsage(X87Register reg);
117 void X87LoadForUsage(X87Register reg1, X87Register reg2); 117 void X87LoadForUsage(X87Register reg1, X87Register reg2);
118 void X87PrepareToWrite(X87Register reg) { x87_stack_.PrepareToWrite(reg); } 118 void X87PrepareToWrite(X87Register reg) { x87_stack_.PrepareToWrite(reg); }
119 void X87CommitWrite(X87Register reg) { x87_stack_.CommitWrite(reg); } 119 void X87CommitWrite(X87Register reg) { x87_stack_.CommitWrite(reg); }
120 120
121 void X87Fxch(X87Register reg, int other_slot = 0) { 121 void X87Fxch(X87Register reg, int other_slot = 0) {
122 x87_stack_.Fxch(reg, other_slot); 122 x87_stack_.Fxch(reg, other_slot);
123 } 123 }
124 void X87Free(X87Register reg) {
125 x87_stack_.Free(reg);
126 }
127
128 124
129 bool X87StackEmpty() { 125 bool X87StackEmpty() {
130 return x87_stack_.depth() == 0; 126 return x87_stack_.depth() == 0;
131 } 127 }
132 128
133 Handle<Object> ToHandle(LConstantOperand* op) const; 129 Handle<Object> ToHandle(LConstantOperand* op) const;
134 130
135 // The operand denoting the second word (the one with a higher address) of 131 // The operand denoting the second word (the one with a higher address) of
136 // a double stack slot. 132 // a double stack slot.
137 Operand HighOperand(LOperand* op); 133 Operand HighOperand(LOperand* op);
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 Label exit_; 528 Label exit_;
533 Label* external_exit_; 529 Label* external_exit_;
534 Label done_; 530 Label done_;
535 int instruction_index_; 531 int instruction_index_;
536 LCodeGen::X87Stack x87_stack_; 532 LCodeGen::X87Stack x87_stack_;
537 }; 533 };
538 534
539 } } // namespace v8::internal 535 } } // namespace v8::internal
540 536
541 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 537 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/deoptimizer-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698