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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1159 UNREACHABLE(); | 1159 UNREACHABLE(); |
1160 return NULL; | 1160 return NULL; |
1161 } | 1161 } |
1162 } | 1162 } |
1163 } | 1163 } |
1164 | 1164 |
1165 | 1165 |
1166 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { | 1166 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { |
1167 ASSERT(instr->key()->representation().IsTagged()); | 1167 ASSERT(instr->key()->representation().IsTagged()); |
1168 argument_count_ -= instr->argument_count(); | 1168 argument_count_ -= instr->argument_count(); |
1169 LOperand* temp = UseFixed(instr->key(), ecx); | 1169 LOperand* key = UseFixed(instr->key(), ecx); |
1170 return MarkAsCall(DefineFixed(new LCallKeyed(temp), eax), instr); | 1170 return MarkAsCall(DefineFixed(new LCallKeyed(key), eax), instr); |
1171 } | 1171 } |
1172 | 1172 |
1173 | 1173 |
1174 LInstruction* LChunkBuilder::DoCallNamed(HCallNamed* instr) { | 1174 LInstruction* LChunkBuilder::DoCallNamed(HCallNamed* instr) { |
1175 argument_count_ -= instr->argument_count(); | 1175 argument_count_ -= instr->argument_count(); |
1176 return MarkAsCall(DefineFixed(new LCallNamed, eax), instr); | 1176 return MarkAsCall(DefineFixed(new LCallNamed, eax), instr); |
1177 } | 1177 } |
1178 | 1178 |
1179 | 1179 |
1180 LInstruction* LChunkBuilder::DoCallGlobal(HCallGlobal* instr) { | 1180 LInstruction* LChunkBuilder::DoCallGlobal(HCallGlobal* instr) { |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1872 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 1872 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
1873 HEnvironment* outer = current_block_->last_environment()->outer(); | 1873 HEnvironment* outer = current_block_->last_environment()->outer(); |
1874 current_block_->UpdateEnvironment(outer); | 1874 current_block_->UpdateEnvironment(outer); |
1875 return NULL; | 1875 return NULL; |
1876 } | 1876 } |
1877 | 1877 |
1878 | 1878 |
1879 } } // namespace v8::internal | 1879 } } // namespace v8::internal |
1880 | 1880 |
1881 #endif // V8_TARGET_ARCH_IA32 | 1881 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |