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

Side by Side Diff: test/cctest/compiler/codegen-tester.h

Issue 2003513002: [build] Fix d8-for-Android builds (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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
« Makefile.android ('K') | « Makefile.android ('k') | no next file » | 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 #ifndef V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ 5 #ifndef V8_CCTEST_COMPILER_CODEGEN_TESTER_H_
6 #define V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ 6 #define V8_CCTEST_COMPILER_CODEGEN_TESTER_H_
7 7
8 #include "src/compiler/instruction-selector.h" 8 #include "src/compiler/instruction-selector.h"
9 #include "src/compiler/pipeline.h" 9 #include "src/compiler/pipeline.h"
10 #include "src/compiler/raw-machine-assembler.h" 10 #include "src/compiler/raw-machine-assembler.h"
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 } 249 }
250 250
251 virtual byte* Generate() { return RawMachineAssemblerTester::Generate(); } 251 virtual byte* Generate() { return RawMachineAssemblerTester::Generate(); }
252 252
253 // The BufferedRawMachineAssemblerTester does not pass parameters directly 253 // The BufferedRawMachineAssemblerTester does not pass parameters directly
254 // to the constructed IR graph. Instead it passes a pointer to the parameter 254 // to the constructed IR graph. Instead it passes a pointer to the parameter
255 // to the IR graph, and adds Load nodes to the IR graph to load the 255 // to the IR graph, and adds Load nodes to the IR graph to load the
256 // parameters from memory. Thereby it is possible to pass 64 bit parameters 256 // parameters from memory. Thereby it is possible to pass 64 bit parameters
257 // to the IR graph. 257 // to the IR graph.
258 Node* Parameter(size_t index) { 258 Node* Parameter(size_t index) {
259 CHECK(index >= 0 && index < 4); 259 CHECK(index < 4);
Jakob Kummerow 2016/05/20 09:44:15 This fixes: .././test/cctest/compiler/codegen-tes
260 return parameter_nodes_[index]; 260 return parameter_nodes_[index];
261 } 261 }
262 262
263 263
264 void Call() { 264 void Call() {
265 CSignature::VerifyParams(test_graph_signature_); 265 CSignature::VerifyParams(test_graph_signature_);
266 CallHelper<void>::Call(); 266 CallHelper<void>::Call();
267 } 267 }
268 268
269 template <typename P0> 269 template <typename P0>
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 538
539 void Run(RawMachineAssemblerTester<int32_t>* m); 539 void Run(RawMachineAssemblerTester<int32_t>* m);
540 void RunLeft(RawMachineAssemblerTester<int32_t>* m); 540 void RunLeft(RawMachineAssemblerTester<int32_t>* m);
541 void RunRight(RawMachineAssemblerTester<int32_t>* m); 541 void RunRight(RawMachineAssemblerTester<int32_t>* m);
542 }; 542 };
543 } // namespace compiler 543 } // namespace compiler
544 } // namespace internal 544 } // namespace internal
545 } // namespace v8 545 } // namespace v8
546 546
547 #endif // V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ 547 #endif // V8_CCTEST_COMPILER_CODEGEN_TESTER_H_
OLDNEW
« Makefile.android ('K') | « Makefile.android ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698