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

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

Issue 1375253002: [WIP][turbofan] Instruction scheduler for Turbofan. (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
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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 break; 483 break;
484 case kArchLookupSwitch: 484 case kArchLookupSwitch:
485 AssembleArchLookupSwitch(instr); 485 AssembleArchLookupSwitch(instr);
486 DCHECK_EQ(LeaveCC, i.OutputSBit()); 486 DCHECK_EQ(LeaveCC, i.OutputSBit());
487 break; 487 break;
488 case kArchTableSwitch: 488 case kArchTableSwitch:
489 AssembleArchTableSwitch(instr); 489 AssembleArchTableSwitch(instr);
490 DCHECK_EQ(LeaveCC, i.OutputSBit()); 490 DCHECK_EQ(LeaveCC, i.OutputSBit());
491 break; 491 break;
492 case kArchNop: 492 case kArchNop:
493 case kArchThrowTerminator:
493 // don't emit code for nops. 494 // don't emit code for nops.
494 DCHECK_EQ(LeaveCC, i.OutputSBit()); 495 DCHECK_EQ(LeaveCC, i.OutputSBit());
495 break; 496 break;
496 case kArchDeoptimize: { 497 case kArchDeoptimize: {
497 int deopt_state_id = 498 int deopt_state_id =
498 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 499 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
499 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); 500 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER);
500 break; 501 break;
501 } 502 }
502 case kArchRet: 503 case kArchRet:
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 padding_size -= v8::internal::Assembler::kInstrSize; 1376 padding_size -= v8::internal::Assembler::kInstrSize;
1376 } 1377 }
1377 } 1378 }
1378 } 1379 }
1379 1380
1380 #undef __ 1381 #undef __
1381 1382
1382 } // namespace compiler 1383 } // namespace compiler
1383 } // namespace internal 1384 } // namespace internal
1384 } // namespace v8 1385 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm/instruction-scheduler-arm.cc » ('j') | src/compiler/ppc/instruction-scheduler-ppc.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698