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

Side by Side Diff: src/compiler/arm64/code-generator-arm64.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 | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/ast-graph-builder.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 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/arm64/macro-assembler-arm64.h" 7 #include "src/arm64/macro-assembler-arm64.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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 } 165 }
166 case kArchJmp: 166 case kArchJmp:
167 __ B(code_->GetLabel(i.InputBlock(0))); 167 __ B(code_->GetLabel(i.InputBlock(0)));
168 break; 168 break;
169 case kArchNop: 169 case kArchNop:
170 // don't emit code for nops. 170 // don't emit code for nops.
171 break; 171 break;
172 case kArchRet: 172 case kArchRet:
173 AssembleReturn(); 173 AssembleReturn();
174 break; 174 break;
175 case kArchStackPointer:
176 __ mov(i.OutputRegister(), masm()->StackPointer());
177 break;
175 case kArchTruncateDoubleToI: 178 case kArchTruncateDoubleToI:
176 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); 179 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0));
177 break; 180 break;
178 case kArm64Add: 181 case kArm64Add:
179 __ Add(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 182 __ Add(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
180 break; 183 break;
181 case kArm64Add32: 184 case kArm64Add32:
182 if (FlagsModeField::decode(opcode) != kFlags_none) { 185 if (FlagsModeField::decode(opcode) != kFlags_none) {
183 __ Adds(i.OutputRegister32(), i.InputRegister32(0), 186 __ Adds(i.OutputRegister32(), i.InputRegister32(0),
184 i.InputOperand32(1)); 187 i.InputOperand32(1));
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 } 927 }
925 } 928 }
926 MarkLazyDeoptSite(); 929 MarkLazyDeoptSite();
927 } 930 }
928 931
929 #undef __ 932 #undef __
930 933
931 } // namespace compiler 934 } // namespace compiler
932 } // namespace internal 935 } // namespace internal
933 } // namespace v8 936 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/ast-graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698