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

Side by Side Diff: src/crankshaft/mips/lithium-codegen-mips.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/ia32/lithium-ia32.cc ('k') | src/crankshaft/mips/lithium-mips.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.7 1 // Copyright 2012 the V8 project authors. All rights reserved.7
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 5149 matching lines...) Expand 10 before | Expand all | Expand 10 after
5160 flags = AllocateTargetSpace::update(flags, NEW_SPACE); 5160 flags = AllocateTargetSpace::update(flags, NEW_SPACE);
5161 } 5161 }
5162 __ Push(Smi::FromInt(flags)); 5162 __ Push(Smi::FromInt(flags));
5163 5163
5164 CallRuntimeFromDeferred( 5164 CallRuntimeFromDeferred(
5165 Runtime::kAllocateInTargetSpace, 2, instr, instr->context()); 5165 Runtime::kAllocateInTargetSpace, 2, instr, instr->context());
5166 __ StoreToSafepointRegisterSlot(v0, result); 5166 __ StoreToSafepointRegisterSlot(v0, result);
5167 } 5167 }
5168 5168
5169 5169
5170 void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
5171 DCHECK(ToRegister(instr->value()).is(a0));
5172 DCHECK(ToRegister(instr->result()).is(v0));
5173 __ push(a0);
5174 CallRuntime(Runtime::kToFastProperties, 1, instr);
5175 }
5176
5177
5178 void LCodeGen::DoTypeof(LTypeof* instr) { 5170 void LCodeGen::DoTypeof(LTypeof* instr) {
5179 DCHECK(ToRegister(instr->value()).is(a3)); 5171 DCHECK(ToRegister(instr->value()).is(a3));
5180 DCHECK(ToRegister(instr->result()).is(v0)); 5172 DCHECK(ToRegister(instr->result()).is(v0));
5181 Label end, do_call; 5173 Label end, do_call;
5182 Register value_register = ToRegister(instr->value()); 5174 Register value_register = ToRegister(instr->value());
5183 __ JumpIfNotSmi(value_register, &do_call); 5175 __ JumpIfNotSmi(value_register, &do_call);
5184 __ li(v0, Operand(isolate()->factory()->number_string())); 5176 __ li(v0, Operand(isolate()->factory()->number_string()));
5185 __ jmp(&end); 5177 __ jmp(&end);
5186 __ bind(&do_call); 5178 __ bind(&do_call);
5187 TypeofStub stub(isolate()); 5179 TypeofStub stub(isolate());
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
5566 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { 5558 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) {
5567 Register context = ToRegister(instr->context()); 5559 Register context = ToRegister(instr->context());
5568 __ sw(context, MemOperand(fp, StandardFrameConstants::kContextOffset)); 5560 __ sw(context, MemOperand(fp, StandardFrameConstants::kContextOffset));
5569 } 5561 }
5570 5562
5571 5563
5572 #undef __ 5564 #undef __
5573 5565
5574 } // namespace internal 5566 } // namespace internal
5575 } // namespace v8 5567 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/ia32/lithium-ia32.cc ('k') | src/crankshaft/mips/lithium-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698