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

Side by Side Diff: src/crankshaft/ia32/lithium-codegen-ia32.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/hydrogen-instructions.cc ('k') | src/crankshaft/ia32/lithium-ia32.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_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h" 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.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 4892 matching lines...) Expand 10 before | Expand all | Expand 10 after
4903 flags = AllocateTargetSpace::update(flags, NEW_SPACE); 4903 flags = AllocateTargetSpace::update(flags, NEW_SPACE);
4904 } 4904 }
4905 __ push(Immediate(Smi::FromInt(flags))); 4905 __ push(Immediate(Smi::FromInt(flags)));
4906 4906
4907 CallRuntimeFromDeferred( 4907 CallRuntimeFromDeferred(
4908 Runtime::kAllocateInTargetSpace, 2, instr, instr->context()); 4908 Runtime::kAllocateInTargetSpace, 2, instr, instr->context());
4909 __ StoreToSafepointRegisterSlot(result, eax); 4909 __ StoreToSafepointRegisterSlot(result, eax);
4910 } 4910 }
4911 4911
4912 4912
4913 void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
4914 DCHECK(ToRegister(instr->value()).is(eax));
4915 __ push(eax);
4916 CallRuntime(Runtime::kToFastProperties, 1, instr);
4917 }
4918
4919
4920 void LCodeGen::DoTypeof(LTypeof* instr) { 4913 void LCodeGen::DoTypeof(LTypeof* instr) {
4921 DCHECK(ToRegister(instr->context()).is(esi)); 4914 DCHECK(ToRegister(instr->context()).is(esi));
4922 DCHECK(ToRegister(instr->value()).is(ebx)); 4915 DCHECK(ToRegister(instr->value()).is(ebx));
4923 Label end, do_call; 4916 Label end, do_call;
4924 Register value_register = ToRegister(instr->value()); 4917 Register value_register = ToRegister(instr->value());
4925 __ JumpIfNotSmi(value_register, &do_call); 4918 __ JumpIfNotSmi(value_register, &do_call);
4926 __ mov(eax, Immediate(isolate()->factory()->number_string())); 4919 __ mov(eax, Immediate(isolate()->factory()->number_string()));
4927 __ jmp(&end); 4920 __ jmp(&end);
4928 __ bind(&do_call); 4921 __ bind(&do_call);
4929 TypeofStub stub(isolate()); 4922 TypeofStub stub(isolate());
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
5271 __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), context); 5264 __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), context);
5272 } 5265 }
5273 5266
5274 5267
5275 #undef __ 5268 #undef __
5276 5269
5277 } // namespace internal 5270 } // namespace internal
5278 } // namespace v8 5271 } // namespace v8
5279 5272
5280 #endif // V8_TARGET_ARCH_IA32 5273 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen-instructions.cc ('k') | src/crankshaft/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698