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

Side by Side Diff: test/cctest/compiler/graph-builder-tester.cc

Issue 565753004: [turbofan] Some common operators are globally shared singletons. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes2 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 "test/cctest/compiler/graph-builder-tester.h" 5 #include "test/cctest/compiler/graph-builder-tester.h"
6
7 #include "src/compiler/linkage.h"
6 #include "src/compiler/pipeline.h" 8 #include "src/compiler/pipeline.h"
7 9
8 namespace v8 { 10 namespace v8 {
9 namespace internal { 11 namespace internal {
10 namespace compiler { 12 namespace compiler {
11 13
12 MachineCallHelper::MachineCallHelper(Zone* zone, MachineSignature* machine_sig) 14 MachineCallHelper::MachineCallHelper(Zone* zone, MachineSignature* machine_sig)
13 : CallHelper(zone->isolate(), machine_sig), 15 : CallHelper(zone->isolate(), machine_sig),
14 parameters_(NULL), 16 parameters_(NULL),
15 graph_(NULL) {} 17 graph_(NULL) {}
(...skipping 29 matching lines...) Expand all
45 47
46 Node* MachineCallHelper::Parameter(size_t index) { 48 Node* MachineCallHelper::Parameter(size_t index) {
47 DCHECK_NE(NULL, parameters_); 49 DCHECK_NE(NULL, parameters_);
48 DCHECK(index < parameter_count()); 50 DCHECK(index < parameter_count());
49 return parameters_[index]; 51 return parameters_[index];
50 } 52 }
51 53
52 } // namespace compiler 54 } // namespace compiler
53 } // namespace internal 55 } // namespace internal
54 } // namespace v8 56 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698