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 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1183 return new LPushArgument(argument); | 1183 return new LPushArgument(argument); |
1184 } | 1184 } |
1185 | 1185 |
1186 | 1186 |
1187 LInstruction* LChunkBuilder::DoContext(HContext* instr) { | 1187 LInstruction* LChunkBuilder::DoContext(HContext* instr) { |
1188 return DefineAsRegister(new LContext); | 1188 return DefineAsRegister(new LContext); |
1189 } | 1189 } |
1190 | 1190 |
1191 | 1191 |
1192 LInstruction* LChunkBuilder::DoOuterContext(HOuterContext* instr) { | 1192 LInstruction* LChunkBuilder::DoOuterContext(HOuterContext* instr) { |
1193 Abort("Unimplemented: DoOuterContext"); | 1193 LOperand* context = UseRegisterAtStart(instr->value()); |
1194 return NULL; | 1194 return DefineAsRegister(new LOuterContext(context)); |
1195 } | 1195 } |
1196 | 1196 |
1197 | 1197 |
1198 LInstruction* LChunkBuilder::DoGlobalObject(HGlobalObject* instr) { | 1198 LInstruction* LChunkBuilder::DoGlobalObject(HGlobalObject* instr) { |
1199 return DefineAsRegister(new LGlobalObject); | 1199 return DefineAsRegister(new LGlobalObject); |
1200 } | 1200 } |
1201 | 1201 |
1202 | 1202 |
1203 LInstruction* LChunkBuilder::DoGlobalReceiver(HGlobalReceiver* instr) { | 1203 LInstruction* LChunkBuilder::DoGlobalReceiver(HGlobalReceiver* instr) { |
1204 return DefineAsRegister(new LGlobalReceiver); | 1204 return DefineAsRegister(new LGlobalReceiver); |
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2018 | 2018 |
2019 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2019 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
2020 HEnvironment* outer = current_block_->last_environment()->outer(); | 2020 HEnvironment* outer = current_block_->last_environment()->outer(); |
2021 current_block_->UpdateEnvironment(outer); | 2021 current_block_->UpdateEnvironment(outer); |
2022 return NULL; | 2022 return NULL; |
2023 } | 2023 } |
2024 | 2024 |
2025 } } // namespace v8::internal | 2025 } } // namespace v8::internal |
2026 | 2026 |
2027 #endif // V8_TARGET_ARCH_X64 | 2027 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |