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

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 494973004: Fix clang/win build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
10 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 if (buffer->descriptor->CanLazilyDeoptimize()) { 375 if (buffer->descriptor->CanLazilyDeoptimize()) {
376 DCHECK(cont_node != NULL); 376 DCHECK(cont_node != NULL);
377 DCHECK(deopt_node != NULL); 377 DCHECK(deopt_node != NULL);
378 buffer->instruction_args.push_back(g.Label(cont_node)); 378 buffer->instruction_args.push_back(g.Label(cont_node));
379 buffer->instruction_args.push_back(g.Label(deopt_node)); 379 buffer->instruction_args.push_back(g.Label(deopt_node));
380 } else { 380 } else {
381 DCHECK(cont_node == NULL); 381 DCHECK(cont_node == NULL);
382 DCHECK(deopt_node == NULL); 382 DCHECK(deopt_node == NULL);
383 } 383 }
384 384
385 DCHECK(input_count == 385 DCHECK(static_cast<size_t>(input_count) ==
386 (buffer->instruction_args.size() - buffer->control_count() + 386 (buffer->instruction_args.size() - buffer->control_count() +
387 buffer->pushed_nodes.size() - buffer->frame_state_value_count())); 387 buffer->pushed_nodes.size() - buffer->frame_state_value_count()));
388 } 388 }
389 389
390 390
391 void InstructionSelector::VisitBlock(BasicBlock* block) { 391 void InstructionSelector::VisitBlock(BasicBlock* block) {
392 DCHECK_EQ(NULL, current_block_); 392 DCHECK_EQ(NULL, current_block_);
393 current_block_ = block; 393 current_block_ = block;
394 int current_block_end = static_cast<int>(instructions_.size()); 394 int current_block_end = static_cast<int>(instructions_.size());
395 395
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 1127
1128 1128
1129 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, 1129 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation,
1130 BasicBlock* deoptimization) {} 1130 BasicBlock* deoptimization) {}
1131 1131
1132 #endif // !V8_TURBOFAN_BACKEND 1132 #endif // !V8_TURBOFAN_BACKEND
1133 1133
1134 } // namespace compiler 1134 } // namespace compiler
1135 } // namespace internal 1135 } // namespace internal
1136 } // namespace v8 1136 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698