Index: test/cctest/compiler/test-run-native-calls.cc |
diff --git a/test/cctest/compiler/test-run-native-calls.cc b/test/cctest/compiler/test-run-native-calls.cc |
index af3748b8fd1b8049445a3155b8ecda39b779b1fa..065c52b1a68080f0508e424c34a2ff2e24bba93e 100644 |
--- a/test/cctest/compiler/test-run-native-calls.cc |
+++ b/test/cctest/compiler/test-run-native-calls.cc |
@@ -356,7 +356,8 @@ class ArgsBuffer { |
Node* StoreOutput(RawMachineAssembler& raw, Node* value) { |
Node* base = raw.PointerConstant(&output); |
Node* offset = raw.Int32Constant(0); |
- return raw.Store(MachineTypeForC<CType>(), base, offset, value); |
+ return raw.Store(StoreRepresentationForC<CType>(kNoWriteBarrier), base, |
+ offset, value); |
} |
// Computes the next set of inputs by updating the {input} array. |
@@ -568,7 +569,8 @@ static void CopyTwentyInt32(CallDescriptor* desc) { |
Node* base = raw.PointerConstant(output); |
for (int i = 0; i < kNumParams; i++) { |
Node* offset = raw.Int32Constant(i * sizeof(int32_t)); |
- raw.Store(kMachInt32, base, offset, raw.Parameter(i)); |
+ raw.Store(StoreRepresentation(kMachInt32, kNoWriteBarrier), base, offset, |
+ raw.Parameter(i)); |
} |
raw.Return(raw.Int32Constant(42)); |
inner = CompileGraph("CopyTwentyInt32", desc, &graph, raw.Export()); |
@@ -1118,7 +1120,8 @@ void MixedParamTest(int start) { |
} |
Node* call = raw.CallN(desc, target, args); |
- Node* store = raw.StoreToPointer(output, sig->GetReturn(), call); |
+ StoreRepresentation store_rep(sig->GetReturn(), kNoWriteBarrier); |
+ Node* store = raw.StoreToPointer(output, store_rep, call); |
USE(store); |
expected_ret = static_cast<int32_t>(constant); |
raw.Return(raw.Int32Constant(expected_ret)); |