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

Side by Side Diff: src/crankshaft/mips64/lithium-codegen-mips64.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.cc ('k') | src/crankshaft/mips64/lithium-mips64.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 // 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/mips64/lithium-codegen-mips64.h" 5 #include "src/crankshaft/mips64/lithium-codegen-mips64.h"
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/crankshaft/hydrogen-osr.h" 9 #include "src/crankshaft/hydrogen-osr.h"
10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h" 10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h"
(...skipping 5350 matching lines...) Expand 10 before | Expand all | Expand 10 after
5361 } 5361 }
5362 __ li(v0, Operand(Smi::FromInt(flags))); 5362 __ li(v0, Operand(Smi::FromInt(flags)));
5363 __ Push(v0); 5363 __ Push(v0);
5364 5364
5365 CallRuntimeFromDeferred( 5365 CallRuntimeFromDeferred(
5366 Runtime::kAllocateInTargetSpace, 2, instr, instr->context()); 5366 Runtime::kAllocateInTargetSpace, 2, instr, instr->context());
5367 __ StoreToSafepointRegisterSlot(v0, result); 5367 __ StoreToSafepointRegisterSlot(v0, result);
5368 } 5368 }
5369 5369
5370 5370
5371 void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
5372 DCHECK(ToRegister(instr->value()).is(a0));
5373 DCHECK(ToRegister(instr->result()).is(v0));
5374 __ push(a0);
5375 CallRuntime(Runtime::kToFastProperties, 1, instr);
5376 }
5377
5378
5379 void LCodeGen::DoTypeof(LTypeof* instr) { 5371 void LCodeGen::DoTypeof(LTypeof* instr) {
5380 DCHECK(ToRegister(instr->value()).is(a3)); 5372 DCHECK(ToRegister(instr->value()).is(a3));
5381 DCHECK(ToRegister(instr->result()).is(v0)); 5373 DCHECK(ToRegister(instr->result()).is(v0));
5382 Label end, do_call; 5374 Label end, do_call;
5383 Register value_register = ToRegister(instr->value()); 5375 Register value_register = ToRegister(instr->value());
5384 __ JumpIfNotSmi(value_register, &do_call); 5376 __ JumpIfNotSmi(value_register, &do_call);
5385 __ li(v0, Operand(isolate()->factory()->number_string())); 5377 __ li(v0, Operand(isolate()->factory()->number_string()));
5386 __ jmp(&end); 5378 __ jmp(&end);
5387 __ bind(&do_call); 5379 __ bind(&do_call);
5388 TypeofStub stub(isolate()); 5380 TypeofStub stub(isolate());
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
5766 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { 5758 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) {
5767 Register context = ToRegister(instr->context()); 5759 Register context = ToRegister(instr->context());
5768 __ sd(context, MemOperand(fp, StandardFrameConstants::kContextOffset)); 5760 __ sd(context, MemOperand(fp, StandardFrameConstants::kContextOffset));
5769 } 5761 }
5770 5762
5771 5763
5772 #undef __ 5764 #undef __
5773 5765
5774 } // namespace internal 5766 } // namespace internal
5775 } // namespace v8 5767 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-mips.cc ('k') | src/crankshaft/mips64/lithium-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698