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

Side by Side Diff: src/crankshaft/arm/lithium-codegen-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.cc ('k') | src/crankshaft/arm64/lithium-arm64.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/arm/lithium-codegen-arm.h" 5 #include "src/crankshaft/arm/lithium-codegen-arm.h"
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" 10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h"
(...skipping 5161 matching lines...) Expand 10 before | Expand all | Expand 10 after
5172 flags = AllocateTargetSpace::update(flags, NEW_SPACE); 5172 flags = AllocateTargetSpace::update(flags, NEW_SPACE);
5173 } 5173 }
5174 __ Push(Smi::FromInt(flags)); 5174 __ Push(Smi::FromInt(flags));
5175 5175
5176 CallRuntimeFromDeferred( 5176 CallRuntimeFromDeferred(
5177 Runtime::kAllocateInTargetSpace, 2, instr, instr->context()); 5177 Runtime::kAllocateInTargetSpace, 2, instr, instr->context());
5178 __ StoreToSafepointRegisterSlot(r0, result); 5178 __ StoreToSafepointRegisterSlot(r0, result);
5179 } 5179 }
5180 5180
5181 5181
5182 void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
5183 DCHECK(ToRegister(instr->value()).is(r0));
5184 __ push(r0);
5185 CallRuntime(Runtime::kToFastProperties, 1, instr);
5186 }
5187
5188
5189 void LCodeGen::DoTypeof(LTypeof* instr) { 5182 void LCodeGen::DoTypeof(LTypeof* instr) {
5190 DCHECK(ToRegister(instr->value()).is(r3)); 5183 DCHECK(ToRegister(instr->value()).is(r3));
5191 DCHECK(ToRegister(instr->result()).is(r0)); 5184 DCHECK(ToRegister(instr->result()).is(r0));
5192 Label end, do_call; 5185 Label end, do_call;
5193 Register value_register = ToRegister(instr->value()); 5186 Register value_register = ToRegister(instr->value());
5194 __ JumpIfNotSmi(value_register, &do_call); 5187 __ JumpIfNotSmi(value_register, &do_call);
5195 __ mov(r0, Operand(isolate()->factory()->number_string())); 5188 __ mov(r0, Operand(isolate()->factory()->number_string()));
5196 __ jmp(&end); 5189 __ jmp(&end);
5197 __ bind(&do_call); 5190 __ bind(&do_call);
5198 TypeofStub stub(isolate()); 5191 TypeofStub stub(isolate());
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
5548 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { 5541 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) {
5549 Register context = ToRegister(instr->context()); 5542 Register context = ToRegister(instr->context());
5550 __ str(context, MemOperand(fp, StandardFrameConstants::kContextOffset)); 5543 __ str(context, MemOperand(fp, StandardFrameConstants::kContextOffset));
5551 } 5544 }
5552 5545
5553 5546
5554 #undef __ 5547 #undef __
5555 5548
5556 } // namespace internal 5549 } // namespace internal
5557 } // namespace v8 5550 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-arm.cc ('k') | src/crankshaft/arm64/lithium-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698