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

Side by Side Diff: src/arm64/lithium-arm64.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/arm64/lithium-arm64.h ('k') | src/arm64/lithium-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/arm64/lithium-arm64.h" 5 #include "src/arm64/lithium-arm64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/arm64/lithium-codegen-arm64.h" 9 #include "src/arm64/lithium-codegen-arm64.h"
10 #include "src/hydrogen-osr.h" 10 #include "src/hydrogen-osr.h"
(...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 1525
1526 LInstruction* LChunkBuilder::DoForceRepresentation( 1526 LInstruction* LChunkBuilder::DoForceRepresentation(
1527 HForceRepresentation* instr) { 1527 HForceRepresentation* instr) {
1528 // All HForceRepresentation instructions should be eliminated in the 1528 // All HForceRepresentation instructions should be eliminated in the
1529 // representation change phase of Hydrogen. 1529 // representation change phase of Hydrogen.
1530 UNREACHABLE(); 1530 UNREACHABLE();
1531 return NULL; 1531 return NULL;
1532 } 1532 }
1533 1533
1534 1534
1535 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
1536 LOperand* context = UseFixed(instr->context(), cp);
1537 return MarkAsCall(
1538 DefineFixed(new(zone()) LFunctionLiteral(context), x0), instr);
1539 }
1540
1541
1542 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( 1535 LInstruction* LChunkBuilder::DoGetCachedArrayIndex(
1543 HGetCachedArrayIndex* instr) { 1536 HGetCachedArrayIndex* instr) {
1544 DCHECK(instr->value()->representation().IsTagged()); 1537 DCHECK(instr->value()->representation().IsTagged());
1545 LOperand* value = UseRegisterAtStart(instr->value()); 1538 LOperand* value = UseRegisterAtStart(instr->value());
1546 return DefineAsRegister(new(zone()) LGetCachedArrayIndex(value)); 1539 return DefineAsRegister(new(zone()) LGetCachedArrayIndex(value));
1547 } 1540 }
1548 1541
1549 1542
1550 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { 1543 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) {
1551 return new(zone()) LGoto(instr->FirstSuccessor()); 1544 return new(zone()) LGoto(instr->FirstSuccessor());
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
2795 LOperand* context = UseFixed(instr->context(), cp); 2788 LOperand* context = UseFixed(instr->context(), cp);
2796 LOperand* function = UseRegisterAtStart(instr->function()); 2789 LOperand* function = UseRegisterAtStart(instr->function());
2797 LAllocateBlockContext* result = 2790 LAllocateBlockContext* result =
2798 new(zone()) LAllocateBlockContext(context, function); 2791 new(zone()) LAllocateBlockContext(context, function);
2799 return MarkAsCall(DefineFixed(result, cp), instr); 2792 return MarkAsCall(DefineFixed(result, cp), instr);
2800 } 2793 }
2801 2794
2802 2795
2803 } // namespace internal 2796 } // namespace internal
2804 } // namespace v8 2797 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/lithium-arm64.h ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698