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

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

Issue 1511883002: [turbofan] Add initial support for SOFT deopts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/x64/code-generator-x64.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/ast/scopes.h" 5 #include "src/ast/scopes.h"
6 #include "src/compiler/code-generator.h" 6 #include "src/compiler/code-generator.h"
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/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 break; 580 break;
581 case kArchTableSwitch: 581 case kArchTableSwitch:
582 AssembleArchTableSwitch(instr); 582 AssembleArchTableSwitch(instr);
583 break; 583 break;
584 case kArchNop: 584 case kArchNop:
585 // don't emit code for nops. 585 // don't emit code for nops.
586 break; 586 break;
587 case kArchDeoptimize: { 587 case kArchDeoptimize: {
588 int deopt_state_id = 588 int deopt_state_id =
589 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 589 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
590 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); 590 Deoptimizer::BailoutType bailout_type =
591 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
592 AssembleDeoptimizerCall(deopt_state_id, bailout_type);
591 break; 593 break;
592 } 594 }
593 case kArchRet: 595 case kArchRet:
594 AssembleReturn(); 596 AssembleReturn();
595 break; 597 break;
596 case kArchStackPointer: 598 case kArchStackPointer:
597 __ mov(i.OutputRegister(), sp); 599 __ mov(i.OutputRegister(), sp);
598 break; 600 break;
599 case kArchFramePointer: 601 case kArchFramePointer:
600 __ mov(i.OutputRegister(), fp); 602 __ mov(i.OutputRegister(), fp);
(...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 padding_size -= v8::internal::Assembler::kInstrSize; 1848 padding_size -= v8::internal::Assembler::kInstrSize;
1847 } 1849 }
1848 } 1850 }
1849 } 1851 }
1850 1852
1851 #undef __ 1853 #undef __
1852 1854
1853 } // namespace compiler 1855 } // namespace compiler
1854 } // namespace internal 1856 } // namespace internal
1855 } // namespace v8 1857 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/code-generator-mips.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698