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

Side by Side Diff: src/ia32/lithium-ia32.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/hydrogen-instructions.h ('k') | src/isolate.h » ('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 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 2373
2374 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { 2374 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) {
2375 HEnvironment* outer = current_block_->last_environment(); 2375 HEnvironment* outer = current_block_->last_environment();
2376 HConstant* undefined = graph()->GetConstantUndefined(); 2376 HConstant* undefined = graph()->GetConstantUndefined();
2377 HEnvironment* inner = outer->CopyForInlining(instr->closure(), 2377 HEnvironment* inner = outer->CopyForInlining(instr->closure(),
2378 instr->arguments_count(), 2378 instr->arguments_count(),
2379 instr->function(), 2379 instr->function(),
2380 undefined, 2380 undefined,
2381 instr->call_kind(), 2381 instr->call_kind(),
2382 instr->is_construct()); 2382 instr->is_construct());
2383 if (instr->arguments() != NULL) {
2384 inner->Bind(instr->arguments(), graph()->GetArgumentsObject());
2385 }
2383 current_block_->UpdateEnvironment(inner); 2386 current_block_->UpdateEnvironment(inner);
2384 chunk_->AddInlinedClosure(instr->closure()); 2387 chunk_->AddInlinedClosure(instr->closure());
2385 return NULL; 2388 return NULL;
2386 } 2389 }
2387 2390
2388 2391
2389 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2392 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2390 HEnvironment* outer = current_block_->last_environment()-> 2393 HEnvironment* outer = current_block_->last_environment()->
2391 DiscardInlined(false); 2394 DiscardInlined(false);
2392 current_block_->UpdateEnvironment(outer); 2395 current_block_->UpdateEnvironment(outer);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
2428 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2431 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2429 LOperand* object = UseRegister(instr->object()); 2432 LOperand* object = UseRegister(instr->object());
2430 LOperand* index = UseTempRegister(instr->index()); 2433 LOperand* index = UseTempRegister(instr->index());
2431 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2434 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2432 } 2435 }
2433 2436
2434 2437
2435 } } // namespace v8::internal 2438 } } // namespace v8::internal
2436 2439
2437 #endif // V8_TARGET_ARCH_IA32 2440 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698