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

Side by Side Diff: src/x64/lithium-x64.cc

Issue 6570008: X64 Crankshaft: Add DoOuterContext to x64 lithium. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 10 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/x64/lithium-x64.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698