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

Side by Side Diff: src/compiler/x64/code-generator-x64.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/simplified-lowering.cc ('k') | test/cctest/cctest.gyp » ('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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties-inl.h" 10 #include "src/compiler/node-properties-inl.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 } 226 }
227 case kArchJmp: 227 case kArchJmp:
228 __ jmp(code_->GetLabel(i.InputBlock(0))); 228 __ jmp(code_->GetLabel(i.InputBlock(0)));
229 break; 229 break;
230 case kArchNop: 230 case kArchNop:
231 // don't emit code for nops. 231 // don't emit code for nops.
232 break; 232 break;
233 case kArchRet: 233 case kArchRet:
234 AssembleReturn(); 234 AssembleReturn();
235 break; 235 break;
236 case kArchStackPointer:
237 __ movq(i.OutputRegister(), rsp);
238 break;
236 case kArchTruncateDoubleToI: 239 case kArchTruncateDoubleToI:
237 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); 240 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0));
238 break; 241 break;
239 case kX64Add32: 242 case kX64Add32:
240 ASSEMBLE_BINOP(addl); 243 ASSEMBLE_BINOP(addl);
241 break; 244 break;
242 case kX64Add: 245 case kX64Add:
243 ASSEMBLE_BINOP(addq); 246 ASSEMBLE_BINOP(addq);
244 break; 247 break;
245 case kX64Sub32: 248 case kX64Sub32:
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 } 981 }
979 } 982 }
980 MarkLazyDeoptSite(); 983 MarkLazyDeoptSite();
981 } 984 }
982 985
983 #undef __ 986 #undef __
984 987
985 } // namespace internal 988 } // namespace internal
986 } // namespace compiler 989 } // namespace compiler
987 } // namespace v8 990 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698