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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 13471013: Flow graph SIMD changes (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/flow_graph_compiler.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index 791412daccbd29b1b81d6e769e9e4ebfb8950a81..a913991eb8fbd3f1c3b5206650d7ba401eef0bbf 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -415,7 +415,8 @@ void FlowGraphCompiler::RecordSafepoint(LocationSummary* locs) {
//
// FPU registers have the highest register number at the highest
// address (i.e., first in the stackmap).
- const intptr_t kFpuRegisterSpillFactor = kFpuRegisterSize / kWordSize;
+ const intptr_t kFpuRegisterSpillFactor =
Vyacheslav Egorov (Google) 2013/04/03 14:25:45 you can kill this variable. it serves no purpose n
Cutch 2013/04/04 22:24:06 It makes the for loop on line 423 easier to read a
+ FlowGraphAllocator::kFpuRegisterSpillFactor;
for (intptr_t i = kNumberOfFpuRegisters - 1; i >= 0; --i) {
FpuRegister reg = static_cast<FpuRegister>(i);
if (regs->ContainsFpuRegister(reg)) {

Powered by Google App Engine
This is Rietveld 408576698