OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 Loading... |
114 case CASE_NUMBER(R1_TOS, R1_TOS): | 114 case CASE_NUMBER(R1_TOS, R1_TOS): |
115 break; | 115 break; |
116 case CASE_NUMBER(R1_TOS, R0_R1_TOS): | 116 case CASE_NUMBER(R1_TOS, R0_R1_TOS): |
117 __ mov(r0, r1); | 117 __ mov(r0, r1); |
118 __ pop(r1); | 118 __ pop(r1); |
119 break; | 119 break; |
120 case CASE_NUMBER(R1_TOS, R1_R0_TOS): | 120 case CASE_NUMBER(R1_TOS, R1_R0_TOS): |
121 __ pop(r0); | 121 __ pop(r0); |
122 break; | 122 break; |
123 case CASE_NUMBER(R0_R1_TOS, NO_TOS_REGISTERS): | 123 case CASE_NUMBER(R0_R1_TOS, NO_TOS_REGISTERS): |
124 __ push(r1); | 124 __ Push(r1, r0); |
125 __ push(r0); | |
126 break; | 125 break; |
127 case CASE_NUMBER(R0_R1_TOS, R0_TOS): | 126 case CASE_NUMBER(R0_R1_TOS, R0_TOS): |
128 __ push(r1); | 127 __ push(r1); |
129 break; | 128 break; |
130 case CASE_NUMBER(R0_R1_TOS, R1_TOS): | 129 case CASE_NUMBER(R0_R1_TOS, R1_TOS): |
131 __ push(r1); | 130 __ push(r1); |
132 __ mov(r1, r0); | 131 __ mov(r1, r0); |
133 break; | 132 break; |
134 case CASE_NUMBER(R0_R1_TOS, R0_R1_TOS): | 133 case CASE_NUMBER(R0_R1_TOS, R0_R1_TOS): |
135 break; | 134 break; |
136 case CASE_NUMBER(R0_R1_TOS, R1_R0_TOS): | 135 case CASE_NUMBER(R0_R1_TOS, R1_R0_TOS): |
137 __ Swap(r0, r1, ip); | 136 __ Swap(r0, r1, ip); |
138 break; | 137 break; |
139 case CASE_NUMBER(R1_R0_TOS, NO_TOS_REGISTERS): | 138 case CASE_NUMBER(R1_R0_TOS, NO_TOS_REGISTERS): |
140 __ push(r0); | 139 __ Push(r0, r1); |
141 __ push(r1); | |
142 break; | 140 break; |
143 case CASE_NUMBER(R1_R0_TOS, R0_TOS): | 141 case CASE_NUMBER(R1_R0_TOS, R0_TOS): |
144 __ push(r0); | 142 __ push(r0); |
145 __ mov(r0, r1); | 143 __ mov(r0, r1); |
146 break; | 144 break; |
147 case CASE_NUMBER(R1_R0_TOS, R1_TOS): | 145 case CASE_NUMBER(R1_R0_TOS, R1_TOS): |
148 __ push(r0); | 146 __ push(r0); |
149 break; | 147 break; |
150 case CASE_NUMBER(R1_R0_TOS, R0_R1_TOS): | 148 case CASE_NUMBER(R1_R0_TOS, R0_R1_TOS): |
151 __ Swap(r0, r1, ip); | 149 __ Swap(r0, r1, ip); |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 default: | 514 default: |
517 UNREACHABLE(); | 515 UNREACHABLE(); |
518 break; | 516 break; |
519 } | 517 } |
520 ASSERT(register_allocation_map_ == 0); // Not yet implemented. | 518 ASSERT(register_allocation_map_ == 0); // Not yet implemented. |
521 } | 519 } |
522 | 520 |
523 #undef __ | 521 #undef __ |
524 | 522 |
525 } } // namespace v8::internal | 523 } } // namespace v8::internal |
OLD | NEW |