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

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

Issue 1772423002: Don't do any special normalization if a boilerplate contains function literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mark osr-one/osr-two as skip on ignition/arm Created 4 years, 9 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
« no previous file with comments | « src/crankshaft/x64/lithium-x64.h ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/crankshaft/x64/lithium-x64.h" 5 #include "src/crankshaft/x64/lithium-x64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_X64 9 #if V8_TARGET_ARCH_X64
10 10
(...skipping 2476 matching lines...) Expand 10 before | Expand all | Expand 10 after
2487 length = UseRegisterOrConstant(instr->length()); 2487 length = UseRegisterOrConstant(instr->length());
2488 index = UseOrConstant(instr->index()); 2488 index = UseOrConstant(instr->index());
2489 } else { 2489 } else {
2490 length = UseTempRegister(instr->length()); 2490 length = UseTempRegister(instr->length());
2491 index = Use(instr->index()); 2491 index = Use(instr->index());
2492 } 2492 }
2493 return DefineAsRegister(new(zone()) LAccessArgumentsAt(args, length, index)); 2493 return DefineAsRegister(new(zone()) LAccessArgumentsAt(args, length, index));
2494 } 2494 }
2495 2495
2496 2496
2497 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) {
2498 LOperand* object = UseFixed(instr->value(), rax);
2499 LToFastProperties* result = new(zone()) LToFastProperties(object);
2500 return MarkAsCall(DefineFixed(result, rax), instr);
2501 }
2502
2503
2504 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { 2497 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) {
2505 LOperand* context = UseFixed(instr->context(), rsi); 2498 LOperand* context = UseFixed(instr->context(), rsi);
2506 LOperand* value = UseFixed(instr->value(), rbx); 2499 LOperand* value = UseFixed(instr->value(), rbx);
2507 LTypeof* result = new(zone()) LTypeof(context, value); 2500 LTypeof* result = new(zone()) LTypeof(context, value);
2508 return MarkAsCall(DefineFixed(result, rax), instr); 2501 return MarkAsCall(DefineFixed(result, rax), instr);
2509 } 2502 }
2510 2503
2511 2504
2512 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { 2505 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) {
2513 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); 2506 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value()));
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
2608 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { 2601 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) {
2609 LOperand* context = UseRegisterAtStart(instr->context()); 2602 LOperand* context = UseRegisterAtStart(instr->context());
2610 return new(zone()) LStoreFrameContext(context); 2603 return new(zone()) LStoreFrameContext(context);
2611 } 2604 }
2612 2605
2613 2606
2614 } // namespace internal 2607 } // namespace internal
2615 } // namespace v8 2608 } // namespace v8
2616 2609
2617 #endif // V8_TARGET_ARCH_X64 2610 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-x64.h ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698