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

Side by Side Diff: src/compiler/arm64/code-generator-arm64.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/arm/code-generator-arm.cc ('k') | src/compiler/ia32/code-generator-ia32.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/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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 436 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
437 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); 437 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER);
438 break; 438 break;
439 } 439 }
440 case kArchRet: 440 case kArchRet:
441 AssembleReturn(); 441 AssembleReturn();
442 break; 442 break;
443 case kArchStackPointer: 443 case kArchStackPointer:
444 __ mov(i.OutputRegister(), masm()->StackPointer()); 444 __ mov(i.OutputRegister(), masm()->StackPointer());
445 break; 445 break;
446 case kArchFramePointer:
447 __ mov(i.OutputRegister(), fp);
448 break;
446 case kArchTruncateDoubleToI: 449 case kArchTruncateDoubleToI:
447 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); 450 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0));
448 break; 451 break;
449 case kArm64Float64RoundDown: 452 case kArm64Float64RoundDown:
450 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); 453 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0));
451 break; 454 break;
452 case kArm64Float64RoundTiesAway: 455 case kArm64Float64RoundTiesAway:
453 __ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); 456 __ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0));
454 break; 457 break;
455 case kArm64Float64RoundTruncate: 458 case kArm64Float64RoundTruncate:
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 } 1329 }
1327 } 1330 }
1328 MarkLazyDeoptSite(); 1331 MarkLazyDeoptSite();
1329 } 1332 }
1330 1333
1331 #undef __ 1334 #undef __
1332 1335
1333 } // namespace compiler 1336 } // namespace compiler
1334 } // namespace internal 1337 } // namespace internal
1335 } // namespace v8 1338 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698