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

Side by Side Diff: test/unittests/compiler/js-typed-lowering-unittest.cc

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
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/access-builder.h" 5 #include "src/compiler/access-builder.h"
6 #include "src/compiler/js-graph.h" 6 #include "src/compiler/js-graph.h"
7 #include "src/compiler/js-operator.h" 7 #include "src/compiler/js-operator.h"
8 #include "src/compiler/js-typed-lowering.h" 8 #include "src/compiler/js-typed-lowering.h"
9 #include "src/compiler/machine-operator.h" 9 #include "src/compiler/machine-operator.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 STATIC_ASSERT(LANGUAGE_END == 3); 66 STATIC_ASSERT(LANGUAGE_END == 3);
67 const LanguageMode kLanguageModes[] = {SLOPPY, STRICT, STRONG}; 67 const LanguageMode kLanguageModes[] = {SLOPPY, STRICT, STRONG};
68 68
69 } // namespace 69 } // namespace
70 70
71 71
72 class JSTypedLoweringTest : public TypedGraphTest { 72 class JSTypedLoweringTest : public TypedGraphTest {
73 public: 73 public:
74 JSTypedLoweringTest() : TypedGraphTest(3), javascript_(zone()) {} 74 JSTypedLoweringTest() : TypedGraphTest(3), javascript_(zone()) {}
75 ~JSTypedLoweringTest() OVERRIDE {} 75 ~JSTypedLoweringTest() override {}
76 76
77 protected: 77 protected:
78 Reduction Reduce(Node* node) { 78 Reduction Reduce(Node* node) {
79 MachineOperatorBuilder machine(zone()); 79 MachineOperatorBuilder machine(zone());
80 JSGraph jsgraph(isolate(), graph(), common(), javascript(), &machine); 80 JSGraph jsgraph(isolate(), graph(), common(), javascript(), &machine);
81 JSTypedLowering reducer(&jsgraph, zone()); 81 JSTypedLowering reducer(&jsgraph, zone());
82 return reducer.Reduce(node); 82 return reducer.Reduce(node);
83 } 83 }
84 84
85 Node* EmptyFrameState() { 85 Node* EmptyFrameState() {
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 885
886 Reduction r = Reduce(node); 886 Reduction r = Reduce(node);
887 887
888 EXPECT_THAT(r.replacement(), matches[i]); 888 EXPECT_THAT(r.replacement(), matches[i]);
889 } 889 }
890 } 890 }
891 891
892 } // namespace compiler 892 } // namespace compiler
893 } // namespace internal 893 } // namespace internal
894 } // namespace v8 894 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/compiler/js-intrinsic-lowering-unittest.cc ('k') | test/unittests/compiler/liveness-analyzer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698