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

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: Merge with ToT Created 5 years, 7 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
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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 } 1325 }
1323 } 1326 }
1324 MarkLazyDeoptSite(); 1327 MarkLazyDeoptSite();
1325 } 1328 }
1326 1329
1327 #undef __ 1330 #undef __
1328 1331
1329 } // namespace compiler 1332 } // namespace compiler
1330 } // namespace internal 1333 } // namespace internal
1331 } // namespace v8 1334 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698