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

Side by Side Diff: src/crankshaft/x87/lithium-codegen-x87.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/x64/lithium-x64.cc ('k') | src/crankshaft/x87/lithium-x87.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 #if V8_TARGET_ARCH_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/crankshaft/x87/lithium-codegen-x87.h" 7 #include "src/crankshaft/x87/lithium-codegen-x87.h"
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 5377 matching lines...) Expand 10 before | Expand all | Expand 10 after
5388 flags = AllocateTargetSpace::update(flags, NEW_SPACE); 5388 flags = AllocateTargetSpace::update(flags, NEW_SPACE);
5389 } 5389 }
5390 __ push(Immediate(Smi::FromInt(flags))); 5390 __ push(Immediate(Smi::FromInt(flags)));
5391 5391
5392 CallRuntimeFromDeferred( 5392 CallRuntimeFromDeferred(
5393 Runtime::kAllocateInTargetSpace, 2, instr, instr->context()); 5393 Runtime::kAllocateInTargetSpace, 2, instr, instr->context());
5394 __ StoreToSafepointRegisterSlot(result, eax); 5394 __ StoreToSafepointRegisterSlot(result, eax);
5395 } 5395 }
5396 5396
5397 5397
5398 void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
5399 DCHECK(ToRegister(instr->value()).is(eax));
5400 __ push(eax);
5401 CallRuntime(Runtime::kToFastProperties, 1, instr);
5402 }
5403
5404
5405 void LCodeGen::DoTypeof(LTypeof* instr) { 5398 void LCodeGen::DoTypeof(LTypeof* instr) {
5406 DCHECK(ToRegister(instr->context()).is(esi)); 5399 DCHECK(ToRegister(instr->context()).is(esi));
5407 DCHECK(ToRegister(instr->value()).is(ebx)); 5400 DCHECK(ToRegister(instr->value()).is(ebx));
5408 Label end, do_call; 5401 Label end, do_call;
5409 Register value_register = ToRegister(instr->value()); 5402 Register value_register = ToRegister(instr->value());
5410 __ JumpIfNotSmi(value_register, &do_call); 5403 __ JumpIfNotSmi(value_register, &do_call);
5411 __ mov(eax, Immediate(isolate()->factory()->number_string())); 5404 __ mov(eax, Immediate(isolate()->factory()->number_string()));
5412 __ jmp(&end); 5405 __ jmp(&end);
5413 __ bind(&do_call); 5406 __ bind(&do_call);
5414 TypeofStub stub(isolate()); 5407 TypeofStub stub(isolate());
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
5759 __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), context); 5752 __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), context);
5760 } 5753 }
5761 5754
5762 5755
5763 #undef __ 5756 #undef __
5764 5757
5765 } // namespace internal 5758 } // namespace internal
5766 } // namespace v8 5759 } // namespace v8
5767 5760
5768 #endif // V8_TARGET_ARCH_X87 5761 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-x64.cc ('k') | src/crankshaft/x87/lithium-x87.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698