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

Side by Side Diff: test/cctest/compiler/test-operator.cc

Issue 619613003: Correct fix this time. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "test/cctest/cctest.h" 10 #include "test/cctest/cctest.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 CHECK(!op1a.Equals(&op3)); 203 CHECK(!op1a.Equals(&op3));
204 CHECK(!op1b.Equals(&op3)); 204 CHECK(!op1b.Equals(&op3));
205 CHECK(!op2a.Equals(&op3)); 205 CHECK(!op2a.Equals(&op3));
206 CHECK(!op2b.Equals(&op3)); 206 CHECK(!op2b.Equals(&op3));
207 207
208 CHECK(!op3.Equals(&op1a)); 208 CHECK(!op3.Equals(&op1a));
209 CHECK(!op3.Equals(&op1b)); 209 CHECK(!op3.Equals(&op1b));
210 CHECK(!op3.Equals(&op2a)); 210 CHECK(!op3.Equals(&op2a));
211 CHECK(!op3.Equals(&op2b)); 211 CHECK(!op3.Equals(&op2b));
212 212
213 Operator1<double> op4a(24, Operator::kNoProperties, 0, 0, "Bashful", NaN); 213 Operator1<double> op4a(24, Operator::kNoProperties, 0, 0, "Bashful", 1.0);
214 Operator1<double> op4b(24, Operator::kNoProperties, 0, 0, "Bashful", NaN); 214 Operator1<double> op4b(24, Operator::kNoProperties, 0, 0, "Bashful", 1.0);
215 215
216 CHECK(op4a.Equals(&op4a)); 216 CHECK(op4a.Equals(&op4a));
217 CHECK(op4a.Equals(&op4b)); 217 CHECK(op4a.Equals(&op4b));
218 CHECK(op4b.Equals(&op4a)); 218 CHECK(op4b.Equals(&op4a));
219 CHECK(op4b.Equals(&op4b)); 219 CHECK(op4b.Equals(&op4b));
220 220
221 CHECK(!op3.Equals(&op4a)); 221 CHECK(!op3.Equals(&op4a));
222 CHECK(!op3.Equals(&op4b)); 222 CHECK(!op3.Equals(&op4b));
223 CHECK(!op3.Equals(&op4a)); 223 CHECK(!op3.Equals(&op4a));
224 CHECK(!op3.Equals(&op4b)); 224 CHECK(!op3.Equals(&op4b));
225 } 225 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698