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

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

Issue 25494007: Reland "Hydrogenisation of binops" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase 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
124 128
125 bool X87StackEmpty() { 129 bool X87StackEmpty() {
126 return x87_stack_.depth() == 0; 130 return x87_stack_.depth() == 0;
127 } 131 }
128 132
129 Handle<Object> ToHandle(LConstantOperand* op) const; 133 Handle<Object> ToHandle(LConstantOperand* op) const;
130 134
131 // The operand denoting the second word (the one with a higher address) of 135 // The operand denoting the second word (the one with a higher address) of
132 // a double stack slot. 136 // a double stack slot.
133 Operand HighOperand(LOperand* op); 137 Operand HighOperand(LOperand* op);
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 Label exit_; 532 Label exit_;
529 Label* external_exit_; 533 Label* external_exit_;
530 Label done_; 534 Label done_;
531 int instruction_index_; 535 int instruction_index_;
532 LCodeGen::X87Stack x87_stack_; 536 LCodeGen::X87Stack x87_stack_;
533 }; 537 };
534 538
535 } } // namespace v8::internal 539 } } // namespace v8::internal
536 540
537 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 541 #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