OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 return MarkAsCall(DefineFixed(result, eax), instr); | 1158 return MarkAsCall(DefineFixed(result, eax), instr); |
1159 } | 1159 } |
1160 | 1160 |
1161 | 1161 |
1162 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( | 1162 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( |
1163 HInstanceOfKnownGlobal* instr) { | 1163 HInstanceOfKnownGlobal* instr) { |
1164 LInstanceOfKnownGlobal* result = | 1164 LInstanceOfKnownGlobal* result = |
1165 new LInstanceOfKnownGlobal( | 1165 new LInstanceOfKnownGlobal( |
1166 UseFixed(instr->value(), InstanceofStub::left()), | 1166 UseFixed(instr->value(), InstanceofStub::left()), |
1167 FixedTemp(edi)); | 1167 FixedTemp(edi)); |
1168 MarkAsSaveDoubles(result); | 1168 return MarkAsCall(DefineFixed(result, eax), instr); |
1169 return AssignEnvironment(AssignPointerMap(DefineFixed(result, eax))); | |
1170 } | 1169 } |
1171 | 1170 |
1172 | 1171 |
1173 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { | 1172 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { |
1174 LOperand* function = UseFixed(instr->function(), edi); | 1173 LOperand* function = UseFixed(instr->function(), edi); |
1175 LOperand* receiver = UseFixed(instr->receiver(), eax); | 1174 LOperand* receiver = UseFixed(instr->receiver(), eax); |
1176 LOperand* length = UseFixed(instr->length(), ebx); | 1175 LOperand* length = UseFixed(instr->length(), ebx); |
1177 LOperand* elements = UseFixed(instr->elements(), ecx); | 1176 LOperand* elements = UseFixed(instr->elements(), ecx); |
1178 LOperand* temp = FixedTemp(edx); | 1177 LOperand* temp = FixedTemp(edx); |
1179 LApplyArguments* result = new LApplyArguments(function, | 1178 LApplyArguments* result = new LApplyArguments(function, |
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2079 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2078 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
2080 HEnvironment* outer = current_block_->last_environment()->outer(); | 2079 HEnvironment* outer = current_block_->last_environment()->outer(); |
2081 current_block_->UpdateEnvironment(outer); | 2080 current_block_->UpdateEnvironment(outer); |
2082 return NULL; | 2081 return NULL; |
2083 } | 2082 } |
2084 | 2083 |
2085 | 2084 |
2086 } } // namespace v8::internal | 2085 } } // namespace v8::internal |
2087 | 2086 |
2088 #endif // V8_TARGET_ARCH_IA32 | 2087 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |