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

Side by Side Diff: src/ia32/lithium-ia32.cc

Issue 1329293003: [runtime] Sanitize %NewClosure runtime entries. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Ports Created 5 years, 3 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/ia32/lithium-ia32.h ('k') | src/mips/lithium-codegen-mips.cc » ('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/ia32/lithium-ia32.h" 5 #include "src/ia32/lithium-ia32.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_IA32 9 #if V8_TARGET_ARCH_IA32
10 10
(...skipping 2520 matching lines...) Expand 10 before | Expand all | Expand 10 after
2531 } 2531 }
2532 2532
2533 2533
2534 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) { 2534 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) {
2535 LOperand* context = UseFixed(instr->context(), esi); 2535 LOperand* context = UseFixed(instr->context(), esi);
2536 return MarkAsCall( 2536 return MarkAsCall(
2537 DefineFixed(new(zone()) LRegExpLiteral(context), eax), instr); 2537 DefineFixed(new(zone()) LRegExpLiteral(context), eax), instr);
2538 } 2538 }
2539 2539
2540 2540
2541 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
2542 LOperand* context = UseFixed(instr->context(), esi);
2543 return MarkAsCall(
2544 DefineFixed(new(zone()) LFunctionLiteral(context), eax), instr);
2545 }
2546
2547
2548 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { 2541 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) {
2549 DCHECK(argument_count_ == 0); 2542 DCHECK(argument_count_ == 0);
2550 allocator_->MarkAsOsrEntry(); 2543 allocator_->MarkAsOsrEntry();
2551 current_block_->last_environment()->set_ast_id(instr->ast_id()); 2544 current_block_->last_environment()->set_ast_id(instr->ast_id());
2552 return AssignEnvironment(new(zone()) LOsrEntry); 2545 return AssignEnvironment(new(zone()) LOsrEntry);
2553 } 2546 }
2554 2547
2555 2548
2556 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { 2549 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
2557 LParameter* result = new(zone()) LParameter; 2550 LParameter* result = new(zone()) LParameter;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2761 LAllocateBlockContext* result = 2754 LAllocateBlockContext* result =
2762 new(zone()) LAllocateBlockContext(context, function); 2755 new(zone()) LAllocateBlockContext(context, function);
2763 return MarkAsCall(DefineFixed(result, esi), instr); 2756 return MarkAsCall(DefineFixed(result, esi), instr);
2764 } 2757 }
2765 2758
2766 2759
2767 } // namespace internal 2760 } // namespace internal
2768 } // namespace v8 2761 } // namespace v8
2769 2762
2770 #endif // V8_TARGET_ARCH_IA32 2763 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698