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

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

Issue 9959093: Merged r11194, r11198, r11201, r11214 into trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 8 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/version.cc ('k') | test/mjsunit/regress/regress-121407.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 2252 matching lines...) Expand 10 before | Expand all | Expand 10 after
2263 2263
2264 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { 2264 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) {
2265 HEnvironment* outer = current_block_->last_environment(); 2265 HEnvironment* outer = current_block_->last_environment();
2266 HConstant* undefined = graph()->GetConstantUndefined(); 2266 HConstant* undefined = graph()->GetConstantUndefined();
2267 HEnvironment* inner = outer->CopyForInlining(instr->closure(), 2267 HEnvironment* inner = outer->CopyForInlining(instr->closure(),
2268 instr->arguments_count(), 2268 instr->arguments_count(),
2269 instr->function(), 2269 instr->function(),
2270 undefined, 2270 undefined,
2271 instr->call_kind(), 2271 instr->call_kind(),
2272 instr->is_construct()); 2272 instr->is_construct());
2273 if (instr->arguments() != NULL) {
2274 inner->Bind(instr->arguments(), graph()->GetArgumentsObject());
2275 }
2273 current_block_->UpdateEnvironment(inner); 2276 current_block_->UpdateEnvironment(inner);
2274 chunk_->AddInlinedClosure(instr->closure()); 2277 chunk_->AddInlinedClosure(instr->closure());
2275 return NULL; 2278 return NULL;
2276 } 2279 }
2277 2280
2278 2281
2279 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2282 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2280 HEnvironment* outer = current_block_->last_environment()-> 2283 HEnvironment* outer = current_block_->last_environment()->
2281 DiscardInlined(false); 2284 DiscardInlined(false);
2282 current_block_->UpdateEnvironment(outer); 2285 current_block_->UpdateEnvironment(outer);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2316 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2319 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2317 LOperand* object = UseRegister(instr->object()); 2320 LOperand* object = UseRegister(instr->object());
2318 LOperand* index = UseTempRegister(instr->index()); 2321 LOperand* index = UseTempRegister(instr->index());
2319 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2322 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2320 } 2323 }
2321 2324
2322 2325
2323 } } // namespace v8::internal 2326 } } // namespace v8::internal
2324 2327
2325 #endif // V8_TARGET_ARCH_X64 2328 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/version.cc ('k') | test/mjsunit/regress/regress-121407.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698