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

Side by Side Diff: src/compiler/mips64/code-generator-mips64.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/mips/code-generator-mips.cc ('k') | src/compiler/opcodes.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 #include "src/compiler/code-generator-impl.h" 6 #include "src/compiler/code-generator-impl.h"
7 #include "src/compiler/gap-resolver.h" 7 #include "src/compiler/gap-resolver.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/mips/macro-assembler-mips.h" 9 #include "src/mips/macro-assembler-mips.h"
10 #include "src/scopes.h" 10 #include "src/scopes.h"
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 480 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
481 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); 481 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER);
482 break; 482 break;
483 } 483 }
484 case kArchRet: 484 case kArchRet:
485 AssembleReturn(); 485 AssembleReturn();
486 break; 486 break;
487 case kArchStackPointer: 487 case kArchStackPointer:
488 __ mov(i.OutputRegister(), sp); 488 __ mov(i.OutputRegister(), sp);
489 break; 489 break;
490 case kArchFramePointer:
491 __ mov(i.OutputRegister(), fp);
492 break;
490 case kArchTruncateDoubleToI: 493 case kArchTruncateDoubleToI:
491 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); 494 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0));
492 break; 495 break;
493 case kMips64Add: 496 case kMips64Add:
494 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 497 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
495 break; 498 break;
496 case kMips64Dadd: 499 case kMips64Dadd:
497 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 500 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
498 break; 501 break;
499 case kMips64Sub: 502 case kMips64Sub:
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
1405 } 1408 }
1406 } 1409 }
1407 MarkLazyDeoptSite(); 1410 MarkLazyDeoptSite();
1408 } 1411 }
1409 1412
1410 #undef __ 1413 #undef __
1411 1414
1412 } // namespace compiler 1415 } // namespace compiler
1413 } // namespace internal 1416 } // namespace internal
1414 } // namespace v8 1417 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/code-generator-mips.cc ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698