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

Unified Diff: test/cctest/compiler/test-multiple-return.cc

Issue 1498833002: Move machine-type.h from src/compiler to src/. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/compiler/c-signature.h ('k') | test/cctest/compiler/test-run-native-calls.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-multiple-return.cc
diff --git a/test/cctest/compiler/test-multiple-return.cc b/test/cctest/compiler/test-multiple-return.cc
index 00fcc5f814b4788849d9f65f2e93877d8854aa6f..257682cb96b4eebb1e71d4ad094a853d141a8a45 100644
--- a/test/cctest/compiler/test-multiple-return.cc
+++ b/test/cctest/compiler/test-multiple-return.cc
@@ -36,7 +36,7 @@ CallDescriptor* GetCallDescriptor(Zone* zone, int return_count,
// Add return location(s).
DCHECK(return_count <= config->num_allocatable_general_registers());
for (int i = 0; i < return_count; i++) {
- msig.AddReturn(compiler::kMachInt32);
+ msig.AddReturn(kMachInt32);
locations.AddReturn(
LinkageLocation::ForRegister(config->allocatable_general_codes()[i]));
}
@@ -44,7 +44,7 @@ CallDescriptor* GetCallDescriptor(Zone* zone, int return_count,
// Add register and/or stack parameter(s).
DCHECK(param_count <= config->num_allocatable_general_registers());
for (int i = 0; i < param_count; i++) {
- msig.AddParam(compiler::kMachInt32);
+ msig.AddParam(kMachInt32);
locations.AddParam(
LinkageLocation::ForRegister(config->allocatable_general_codes()[i]));
}
@@ -53,7 +53,7 @@ CallDescriptor* GetCallDescriptor(Zone* zone, int return_count,
const RegList kCalleeSaveFPRegisters = 0;
// The target for WASM calls is always a code object.
- MachineType target_type = compiler::kMachAnyTagged;
+ MachineType target_type = kMachAnyTagged;
LinkageLocation target_loc = LinkageLocation::ForAnyRegister();
return new (zone) CallDescriptor( // --
CallDescriptor::kCallCodeObject, // kind
« no previous file with comments | « test/cctest/compiler/c-signature.h ('k') | test/cctest/compiler/test-run-native-calls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698