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

Side by Side Diff: test/cctest/test-code-stubs-mips.cc

Issue 1365803004: [presubmit] Fix whitespace/semicolon linter violations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « test/cctest/test-code-stubs-ia32.cc ('k') | test/cctest/test-code-stubs-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Rrdistribution and use in source and binary forms, with or without 2 // Rrdistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Rrdistributions of source code must retain the above copyright 6 // * Rrdistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Rrdistributions in binary form must reproduce the above 8 // * Rrdistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 __ Move(f12, a0, a1); 72 __ Move(f12, a0, a1);
73 } 73 }
74 // Push the double argument. 74 // Push the double argument.
75 __ Subu(sp, sp, Operand(kDoubleSize)); 75 __ Subu(sp, sp, Operand(kDoubleSize));
76 __ sdc1(f12, MemOperand(sp)); 76 __ sdc1(f12, MemOperand(sp));
77 __ Move(source_reg, sp); 77 __ Move(source_reg, sp);
78 78
79 // Save registers make sure they don't get clobbered. 79 // Save registers make sure they don't get clobbered.
80 int source_reg_offset = kDoubleSize; 80 int source_reg_offset = kDoubleSize;
81 int reg_num = 2; 81 int reg_num = 2;
82 for (;reg_num < Register::NumAllocatableRegisters(); ++reg_num) { 82 for (; reg_num < Register::NumAllocatableRegisters(); ++reg_num) {
83 Register reg = Register::from_code(reg_num); 83 Register reg = Register::from_code(reg_num);
84 if (!reg.is(destination_reg)) { 84 if (!reg.is(destination_reg)) {
85 __ push(reg); 85 __ push(reg);
86 source_reg_offset += kPointerSize; 86 source_reg_offset += kPointerSize;
87 } 87 }
88 } 88 }
89 89
90 // Re-push the double argument. 90 // Re-push the double argument.
91 __ Subu(sp, sp, Operand(kDoubleSize)); 91 __ Subu(sp, sp, Operand(kDoubleSize));
92 __ sdc1(f12, MemOperand(sp)); 92 __ sdc1(f12, MemOperand(sp));
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 false)); 187 false));
188 RunAllTruncationTests( 188 RunAllTruncationTests(
189 RunGeneratedCodeCallWrapper, 189 RunGeneratedCodeCallWrapper,
190 MakeConvertDToIFuncTrampoline(isolate, 190 MakeConvertDToIFuncTrampoline(isolate,
191 source_registers[s], 191 source_registers[s],
192 dest_registers[d], 192 dest_registers[d],
193 true)); 193 true));
194 } 194 }
195 } 195 }
196 } 196 }
OLDNEW
« no previous file with comments | « test/cctest/test-code-stubs-ia32.cc ('k') | test/cctest/test-code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698