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

Side by Side Diff: src/compiler/bounds-check-lowering.h

Issue 768543002: [WIP] TrapHandler 2014/11/27. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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/access-builder.cc ('k') | src/compiler/bounds-check-lowering.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef V8_COMPILER_BOUNDS_CHECK_LOWERING_H_
6 #define V8_COMPILER_BOUNDS_CHECK_LOWERING_H_
7
8 #include "src/compiler/graph-reducer.h"
9
10 namespace v8 {
11 namespace internal {
12 namespace compiler {
13
14 // Forward declarations.
15 class CommonOperatorBuilder;
16 class JSGraph;
17 class MachineOperatorBuilder;
18
19 class BoundsCheckLowering FINAL : public Reducer {
20 public:
21 explicit BoundsCheckLowering(JSGraph* jsgraph) : jsgraph_(jsgraph) {}
22 ~BoundsCheckLowering();
23
24 Reduction Reduce(Node* node) OVERRIDE;
25
26 private:
27 Graph* graph() const;
28 JSGraph* jsgraph() const { return jsgraph_; }
29 CommonOperatorBuilder* common() const;
30 MachineOperatorBuilder* machine() const;
31
32 JSGraph* jsgraph_;
33 };
34
35 } // namespace compiler
36 } // namespace internal
37 } // namespace v8
38
39 #endif // V8_COMPILER_BOUNDS_CHECK_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/bounds-check-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698