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

Side by Side Diff: src/compiler/arm/code-generator-arm.cc

Issue 621833003: Implement inlined stack-check guards in TurboFan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/compiler/arm/instruction-selector-arm.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 DCHECK_EQ(LeaveCC, i.OutputSBit()); 197 DCHECK_EQ(LeaveCC, i.OutputSBit());
198 break; 198 break;
199 case kArchNop: 199 case kArchNop:
200 // don't emit code for nops. 200 // don't emit code for nops.
201 DCHECK_EQ(LeaveCC, i.OutputSBit()); 201 DCHECK_EQ(LeaveCC, i.OutputSBit());
202 break; 202 break;
203 case kArchRet: 203 case kArchRet:
204 AssembleReturn(); 204 AssembleReturn();
205 DCHECK_EQ(LeaveCC, i.OutputSBit()); 205 DCHECK_EQ(LeaveCC, i.OutputSBit());
206 break; 206 break;
207 case kArchStackPointer:
208 __ mov(i.OutputRegister(), sp);
209 DCHECK_EQ(LeaveCC, i.OutputSBit());
210 break;
207 case kArchTruncateDoubleToI: 211 case kArchTruncateDoubleToI:
208 __ TruncateDoubleToI(i.OutputRegister(), i.InputFloat64Register(0)); 212 __ TruncateDoubleToI(i.OutputRegister(), i.InputFloat64Register(0));
209 DCHECK_EQ(LeaveCC, i.OutputSBit()); 213 DCHECK_EQ(LeaveCC, i.OutputSBit());
210 break; 214 break;
211 case kArmAdd: 215 case kArmAdd:
212 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), 216 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1),
213 i.OutputSBit()); 217 i.OutputSBit());
214 break; 218 break;
215 case kArmAnd: 219 case kArmAnd:
216 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), 220 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1),
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 } 919 }
916 } 920 }
917 MarkLazyDeoptSite(); 921 MarkLazyDeoptSite();
918 } 922 }
919 923
920 #undef __ 924 #undef __
921 925
922 } // namespace compiler 926 } // namespace compiler
923 } // namespace internal 927 } // namespace internal
924 } // namespace v8 928 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm/instruction-selector-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698