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

Side by Side Diff: src/crankshaft/ppc/lithium-codegen-ppc.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/mips64/lithium-mips64.cc ('k') | src/crankshaft/ppc/lithium-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/ppc/lithium-codegen-ppc.h" 5 #include "src/crankshaft/ppc/lithium-codegen-ppc.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/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 5386 matching lines...) Expand 10 before | Expand all | Expand 10 after
5397 flags = AllocateTargetSpace::update(flags, NEW_SPACE); 5397 flags = AllocateTargetSpace::update(flags, NEW_SPACE);
5398 } 5398 }
5399 __ Push(Smi::FromInt(flags)); 5399 __ Push(Smi::FromInt(flags));
5400 5400
5401 CallRuntimeFromDeferred(Runtime::kAllocateInTargetSpace, 2, instr, 5401 CallRuntimeFromDeferred(Runtime::kAllocateInTargetSpace, 2, instr,
5402 instr->context()); 5402 instr->context());
5403 __ StoreToSafepointRegisterSlot(r3, result); 5403 __ StoreToSafepointRegisterSlot(r3, result);
5404 } 5404 }
5405 5405
5406 5406
5407 void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
5408 DCHECK(ToRegister(instr->value()).is(r3));
5409 __ push(r3);
5410 CallRuntime(Runtime::kToFastProperties, 1, instr);
5411 }
5412
5413
5414 void LCodeGen::DoTypeof(LTypeof* instr) { 5407 void LCodeGen::DoTypeof(LTypeof* instr) {
5415 DCHECK(ToRegister(instr->value()).is(r6)); 5408 DCHECK(ToRegister(instr->value()).is(r6));
5416 DCHECK(ToRegister(instr->result()).is(r3)); 5409 DCHECK(ToRegister(instr->result()).is(r3));
5417 Label end, do_call; 5410 Label end, do_call;
5418 Register value_register = ToRegister(instr->value()); 5411 Register value_register = ToRegister(instr->value());
5419 __ JumpIfNotSmi(value_register, &do_call); 5412 __ JumpIfNotSmi(value_register, &do_call);
5420 __ mov(r3, Operand(isolate()->factory()->number_string())); 5413 __ mov(r3, Operand(isolate()->factory()->number_string()));
5421 __ b(&end); 5414 __ b(&end);
5422 __ bind(&do_call); 5415 __ bind(&do_call);
5423 TypeofStub stub(isolate()); 5416 TypeofStub stub(isolate());
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
5760 5753
5761 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { 5754 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) {
5762 Register context = ToRegister(instr->context()); 5755 Register context = ToRegister(instr->context());
5763 __ StoreP(context, MemOperand(fp, StandardFrameConstants::kContextOffset)); 5756 __ StoreP(context, MemOperand(fp, StandardFrameConstants::kContextOffset));
5764 } 5757 }
5765 5758
5766 5759
5767 #undef __ 5760 #undef __
5768 } // namespace internal 5761 } // namespace internal
5769 } // namespace v8 5762 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-mips64.cc ('k') | src/crankshaft/ppc/lithium-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698