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

Side by Side Diff: src/crankshaft/mips/lithium-mips.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/mips/lithium-mips.h ('k') | src/crankshaft/mips64/lithium-codegen-mips64.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/mips/lithium-mips.h" 5 #include "src/crankshaft/mips/lithium-mips.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 2370 matching lines...) Expand 10 before | Expand all | Expand 10 after
2381 2381
2382 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { 2382 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) {
2383 info()->MarkAsRequiresFrame(); 2383 info()->MarkAsRequiresFrame();
2384 LOperand* args = UseRegister(instr->arguments()); 2384 LOperand* args = UseRegister(instr->arguments());
2385 LOperand* length = UseRegisterOrConstantAtStart(instr->length()); 2385 LOperand* length = UseRegisterOrConstantAtStart(instr->length());
2386 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); 2386 LOperand* index = UseRegisterOrConstantAtStart(instr->index());
2387 return DefineAsRegister(new(zone()) LAccessArgumentsAt(args, length, index)); 2387 return DefineAsRegister(new(zone()) LAccessArgumentsAt(args, length, index));
2388 } 2388 }
2389 2389
2390 2390
2391 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) {
2392 LOperand* object = UseFixed(instr->value(), a0);
2393 LToFastProperties* result = new(zone()) LToFastProperties(object);
2394 return MarkAsCall(DefineFixed(result, v0), instr);
2395 }
2396
2397
2398 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { 2391 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) {
2399 LOperand* context = UseFixed(instr->context(), cp); 2392 LOperand* context = UseFixed(instr->context(), cp);
2400 LOperand* value = UseFixed(instr->value(), a3); 2393 LOperand* value = UseFixed(instr->value(), a3);
2401 LTypeof* result = new (zone()) LTypeof(context, value); 2394 LTypeof* result = new (zone()) LTypeof(context, value);
2402 return MarkAsCall(DefineFixed(result, v0), instr); 2395 return MarkAsCall(DefineFixed(result, v0), instr);
2403 } 2396 }
2404 2397
2405 2398
2406 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { 2399 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) {
2407 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); 2400 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value()));
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
2500 2493
2501 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { 2494 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) {
2502 LOperand* context = UseRegisterAtStart(instr->context()); 2495 LOperand* context = UseRegisterAtStart(instr->context());
2503 return new(zone()) LStoreFrameContext(context); 2496 return new(zone()) LStoreFrameContext(context);
2504 } 2497 }
2505 2498
2506 } // namespace internal 2499 } // namespace internal
2507 } // namespace v8 2500 } // namespace v8
2508 2501
2509 #endif // V8_TARGET_ARCH_MIPS 2502 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-mips.h ('k') | src/crankshaft/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698