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

Side by Side Diff: src/x87/lithium-x87.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/x87/lithium-x87.h ('k') | test/unittests/compiler/js-typed-lowering-unittest.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/x87/lithium-x87.h" 5 #include "src/x87/lithium-x87.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_X87 9 #if V8_TARGET_ARCH_X87
10 10
(...skipping 2524 matching lines...) Expand 10 before | Expand all | Expand 10 after
2535 } 2535 }
2536 2536
2537 2537
2538 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) { 2538 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) {
2539 LOperand* context = UseFixed(instr->context(), esi); 2539 LOperand* context = UseFixed(instr->context(), esi);
2540 return MarkAsCall( 2540 return MarkAsCall(
2541 DefineFixed(new(zone()) LRegExpLiteral(context), eax), instr); 2541 DefineFixed(new(zone()) LRegExpLiteral(context), eax), instr);
2542 } 2542 }
2543 2543
2544 2544
2545 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
2546 LOperand* context = UseFixed(instr->context(), esi);
2547 return MarkAsCall(
2548 DefineFixed(new(zone()) LFunctionLiteral(context), eax), instr);
2549 }
2550
2551
2552 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { 2545 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) {
2553 DCHECK(argument_count_ == 0); 2546 DCHECK(argument_count_ == 0);
2554 allocator_->MarkAsOsrEntry(); 2547 allocator_->MarkAsOsrEntry();
2555 current_block_->last_environment()->set_ast_id(instr->ast_id()); 2548 current_block_->last_environment()->set_ast_id(instr->ast_id());
2556 return AssignEnvironment(new(zone()) LOsrEntry); 2549 return AssignEnvironment(new(zone()) LOsrEntry);
2557 } 2550 }
2558 2551
2559 2552
2560 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { 2553 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
2561 LParameter* result = new(zone()) LParameter; 2554 LParameter* result = new(zone()) LParameter;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2765 LAllocateBlockContext* result = 2758 LAllocateBlockContext* result =
2766 new(zone()) LAllocateBlockContext(context, function); 2759 new(zone()) LAllocateBlockContext(context, function);
2767 return MarkAsCall(DefineFixed(result, esi), instr); 2760 return MarkAsCall(DefineFixed(result, esi), instr);
2768 } 2761 }
2769 2762
2770 2763
2771 } // namespace internal 2764 } // namespace internal
2772 } // namespace v8 2765 } // namespace v8
2773 2766
2774 #endif // V8_TARGET_ARCH_X87 2767 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/lithium-x87.h ('k') | test/unittests/compiler/js-typed-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698