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

Side by Side Diff: test/cctest/compiler/structured-machine-assembler.cc

Issue 539903002: Move StructuredMachineAssembler into cctest suite. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add a TODO. Created 6 years, 3 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
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/pipeline.h" 5 #include "src/compiler/pipeline.h"
6 #include "src/compiler/scheduler.h" 6 #include "src/compiler/scheduler.h"
7 #include "src/compiler/structured-machine-assembler.h" 7 #include "test/cctest/compiler/structured-machine-assembler.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
11 namespace compiler { 11 namespace compiler {
12 12
13 Node* Variable::Get() const { return smasm_->GetVariable(offset_); } 13 Node* Variable::Get() const { return smasm_->GetVariable(offset_); }
14 14
15 15
16 void Variable::Set(Node* value) const { smasm_->SetVariable(offset_, value); } 16 void Variable::Set(Node* value) const { smasm_->SetVariable(offset_, value); }
17 17
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 } 655 }
656 pending_header_merges_.clear(); 656 pending_header_merges_.clear();
657 pending_exit_merges_.clear(); 657 pending_exit_merges_.clear();
658 header_environment_ = NULL; 658 header_environment_ = NULL;
659 DCHECK(IsDone()); 659 DCHECK(IsDone());
660 } 660 }
661 661
662 } // namespace compiler 662 } // namespace compiler
663 } // namespace internal 663 } // namespace internal
664 } // namespace v8 664 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/structured-machine-assembler.h ('k') | test/cctest/compiler/test-changes-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698