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

Side by Side Diff: src/compiler/source-position.cc

Issue 637313002: [turbofan] Output file for C1 visualizer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix Created 6 years, 2 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 | « src/compiler/source-position.h ('k') | src/d8.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/compiler/source-position.h" 5 #include "src/compiler/source-position.h"
6 #include "src/compiler/graph.h" 6 #include "src/compiler/graph.h"
7 #include "src/compiler/node-aux-data-inl.h" 7 #include "src/compiler/node-aux-data-inl.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 28 matching lines...) Expand all
39 } 39 }
40 40
41 41
42 void SourcePositionTable::RemoveDecorator() { 42 void SourcePositionTable::RemoveDecorator() {
43 DCHECK(decorator_ != NULL); 43 DCHECK(decorator_ != NULL);
44 graph_->RemoveDecorator(decorator_); 44 graph_->RemoveDecorator(decorator_);
45 decorator_ = NULL; 45 decorator_ = NULL;
46 } 46 }
47 47
48 48
49 SourcePosition SourcePositionTable::GetSourcePosition(Node* node) { 49 SourcePosition SourcePositionTable::GetSourcePosition(Node* node) const {
50 return table_.Get(node); 50 return table_.Get(node);
51 } 51 }
52 52
53 } // namespace compiler 53 } // namespace compiler
54 } // namespace internal 54 } // namespace internal
55 } // namespace v8 55 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/source-position.h ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698