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

Side by Side Diff: src/crankshaft/arm/lithium-arm.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/arm/lithium-arm.h ('k') | src/crankshaft/arm/lithium-codegen-arm.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/arm/lithium-arm.h" 5 #include "src/crankshaft/arm/lithium-arm.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm/lithium-codegen-arm.h" 9 #include "src/crankshaft/arm/lithium-codegen-arm.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 2423 matching lines...) Expand 10 before | Expand all | Expand 10 after
2434 2434
2435 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { 2435 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) {
2436 info()->MarkAsRequiresFrame(); 2436 info()->MarkAsRequiresFrame();
2437 LOperand* args = UseRegister(instr->arguments()); 2437 LOperand* args = UseRegister(instr->arguments());
2438 LOperand* length = UseRegisterOrConstantAtStart(instr->length()); 2438 LOperand* length = UseRegisterOrConstantAtStart(instr->length());
2439 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); 2439 LOperand* index = UseRegisterOrConstantAtStart(instr->index());
2440 return DefineAsRegister(new(zone()) LAccessArgumentsAt(args, length, index)); 2440 return DefineAsRegister(new(zone()) LAccessArgumentsAt(args, length, index));
2441 } 2441 }
2442 2442
2443 2443
2444 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) {
2445 LOperand* object = UseFixed(instr->value(), r0);
2446 LToFastProperties* result = new(zone()) LToFastProperties(object);
2447 return MarkAsCall(DefineFixed(result, r0), instr);
2448 }
2449
2450
2451 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { 2444 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) {
2452 LOperand* context = UseFixed(instr->context(), cp); 2445 LOperand* context = UseFixed(instr->context(), cp);
2453 LOperand* value = UseFixed(instr->value(), r3); 2446 LOperand* value = UseFixed(instr->value(), r3);
2454 LTypeof* result = new (zone()) LTypeof(context, value); 2447 LTypeof* result = new (zone()) LTypeof(context, value);
2455 return MarkAsCall(DefineFixed(result, r0), instr); 2448 return MarkAsCall(DefineFixed(result, r0), instr);
2456 } 2449 }
2457 2450
2458 2451
2459 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { 2452 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) {
2460 return new(zone()) LTypeofIsAndBranch(UseRegister(instr->value())); 2453 return new(zone()) LTypeofIsAndBranch(UseRegister(instr->value()));
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
2550 } 2543 }
2551 2544
2552 2545
2553 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { 2546 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) {
2554 LOperand* context = UseRegisterAtStart(instr->context()); 2547 LOperand* context = UseRegisterAtStart(instr->context());
2555 return new(zone()) LStoreFrameContext(context); 2548 return new(zone()) LStoreFrameContext(context);
2556 } 2549 }
2557 2550
2558 } // namespace internal 2551 } // namespace internal
2559 } // namespace v8 2552 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-arm.h ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698