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

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

Issue 1146963002: Add %GetCallerJSFunction intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 5 years, 6 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/compiler/access-builder.cc ('k') | src/compiler/arm64/code-generator-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 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 break; 396 break;
397 } 397 }
398 case kArchRet: 398 case kArchRet:
399 AssembleReturn(); 399 AssembleReturn();
400 DCHECK_EQ(LeaveCC, i.OutputSBit()); 400 DCHECK_EQ(LeaveCC, i.OutputSBit());
401 break; 401 break;
402 case kArchStackPointer: 402 case kArchStackPointer:
403 __ mov(i.OutputRegister(), sp); 403 __ mov(i.OutputRegister(), sp);
404 DCHECK_EQ(LeaveCC, i.OutputSBit()); 404 DCHECK_EQ(LeaveCC, i.OutputSBit());
405 break; 405 break;
406 case kArchFramePointer:
407 __ mov(i.OutputRegister(), fp);
408 DCHECK_EQ(LeaveCC, i.OutputSBit());
409 break;
406 case kArchTruncateDoubleToI: 410 case kArchTruncateDoubleToI:
407 __ TruncateDoubleToI(i.OutputRegister(), i.InputFloat64Register(0)); 411 __ TruncateDoubleToI(i.OutputRegister(), i.InputFloat64Register(0));
408 DCHECK_EQ(LeaveCC, i.OutputSBit()); 412 DCHECK_EQ(LeaveCC, i.OutputSBit());
409 break; 413 break;
410 case kArmAdd: 414 case kArmAdd:
411 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), 415 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1),
412 i.OutputSBit()); 416 i.OutputSBit());
413 break; 417 break;
414 case kArmAnd: 418 case kArmAnd:
415 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), 419 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1),
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 } 1218 }
1215 } 1219 }
1216 MarkLazyDeoptSite(); 1220 MarkLazyDeoptSite();
1217 } 1221 }
1218 1222
1219 #undef __ 1223 #undef __
1220 1224
1221 } // namespace compiler 1225 } // namespace compiler
1222 } // namespace internal 1226 } // namespace internal
1223 } // namespace v8 1227 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698