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

Side by Side Diff: src/compiler/loop-analysis.cc

Issue 2344143003: Moved zones and zone related stuff in its own directory. (Closed)
Patch Set: Merge branch 'master' into zonefolder Created 4 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
« no previous file with comments | « src/compiler/loop-analysis.h ('k') | src/compiler/loop-peeling.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/loop-analysis.h" 5 #include "src/compiler/loop-analysis.h"
6 6
7 #include "src/compiler/graph.h" 7 #include "src/compiler/graph.h"
8 #include "src/compiler/node.h"
9 #include "src/compiler/node-marker.h" 8 #include "src/compiler/node-marker.h"
10 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
11 #include "src/zone.h" 10 #include "src/compiler/node.h"
11 #include "src/zone/zone.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 namespace compiler { 15 namespace compiler {
16 16
17 #define OFFSET(x) ((x)&0x1f) 17 #define OFFSET(x) ((x)&0x1f)
18 #define BIT(x) (1u << OFFSET(x)) 18 #define BIT(x) (1u << OFFSET(x))
19 #define INDEX(x) ((x) >> 5) 19 #define INDEX(x) ((x) >> 5)
20 20
21 // Temporary information for each node during marking. 21 // Temporary information for each node during marking.
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 if (first->opcode() == IrOpcode::kLoop) return first; 521 if (first->opcode() == IrOpcode::kLoop) return first;
522 DCHECK(IrOpcode::IsPhiOpcode(first->opcode())); 522 DCHECK(IrOpcode::IsPhiOpcode(first->opcode()));
523 Node* header = NodeProperties::GetControlInput(first); 523 Node* header = NodeProperties::GetControlInput(first);
524 DCHECK_EQ(IrOpcode::kLoop, header->opcode()); 524 DCHECK_EQ(IrOpcode::kLoop, header->opcode());
525 return header; 525 return header;
526 } 526 }
527 527
528 } // namespace compiler 528 } // namespace compiler
529 } // namespace internal 529 } // namespace internal
530 } // namespace v8 530 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/loop-analysis.h ('k') | src/compiler/loop-peeling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698