| OLD | NEW | 
|---|
| 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 #include "test/unittests/compiler/node-test-utils.h" | 5 #include "test/unittests/compiler/node-test-utils.h" | 
| 6 | 6 | 
| 7 #include <vector> | 7 #include <vector> | 
| 8 | 8 | 
| 9 #include "src/assembler.h" | 9 #include "src/assembler.h" | 
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" | 
| (...skipping 2289 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2300 IS_BINOP_MATCHER(Uint32LessThan) | 2300 IS_BINOP_MATCHER(Uint32LessThan) | 
| 2301 IS_BINOP_MATCHER(Uint32LessThanOrEqual) | 2301 IS_BINOP_MATCHER(Uint32LessThanOrEqual) | 
| 2302 IS_BINOP_MATCHER(Int64Add) | 2302 IS_BINOP_MATCHER(Int64Add) | 
| 2303 IS_BINOP_MATCHER(Int64Sub) | 2303 IS_BINOP_MATCHER(Int64Sub) | 
| 2304 IS_BINOP_MATCHER(JSAdd) | 2304 IS_BINOP_MATCHER(JSAdd) | 
| 2305 IS_BINOP_MATCHER(Float32Equal) | 2305 IS_BINOP_MATCHER(Float32Equal) | 
| 2306 IS_BINOP_MATCHER(Float32LessThan) | 2306 IS_BINOP_MATCHER(Float32LessThan) | 
| 2307 IS_BINOP_MATCHER(Float32LessThanOrEqual) | 2307 IS_BINOP_MATCHER(Float32LessThanOrEqual) | 
| 2308 IS_BINOP_MATCHER(Float64Max) | 2308 IS_BINOP_MATCHER(Float64Max) | 
| 2309 IS_BINOP_MATCHER(Float64Min) | 2309 IS_BINOP_MATCHER(Float64Min) | 
|  | 2310 IS_BINOP_MATCHER(Float64Add) | 
| 2310 IS_BINOP_MATCHER(Float64Sub) | 2311 IS_BINOP_MATCHER(Float64Sub) | 
|  | 2312 IS_BINOP_MATCHER(Float64Mul) | 
| 2311 IS_BINOP_MATCHER(Float64InsertLowWord32) | 2313 IS_BINOP_MATCHER(Float64InsertLowWord32) | 
| 2312 IS_BINOP_MATCHER(Float64InsertHighWord32) | 2314 IS_BINOP_MATCHER(Float64InsertHighWord32) | 
| 2313 #undef IS_BINOP_MATCHER | 2315 #undef IS_BINOP_MATCHER | 
| 2314 | 2316 | 
| 2315 | 2317 | 
| 2316 #define IS_UNOP_MATCHER(Name)                                                \ | 2318 #define IS_UNOP_MATCHER(Name)                                                \ | 
| 2317   Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) {             \ | 2319   Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) {             \ | 
| 2318     return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ | 2320     return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ | 
| 2319   } | 2321   } | 
| 2320 IS_UNOP_MATCHER(BooleanNot) | 2322 IS_UNOP_MATCHER(BooleanNot) | 
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2374 IS_UNOP_MATCHER(StringFromCharCode) | 2376 IS_UNOP_MATCHER(StringFromCharCode) | 
| 2375 IS_UNOP_MATCHER(Word32Clz) | 2377 IS_UNOP_MATCHER(Word32Clz) | 
| 2376 IS_UNOP_MATCHER(Word32Ctz) | 2378 IS_UNOP_MATCHER(Word32Ctz) | 
| 2377 IS_UNOP_MATCHER(Word32Popcnt) | 2379 IS_UNOP_MATCHER(Word32Popcnt) | 
| 2378 IS_UNOP_MATCHER(Word32ReverseBytes) | 2380 IS_UNOP_MATCHER(Word32ReverseBytes) | 
| 2379 #undef IS_UNOP_MATCHER | 2381 #undef IS_UNOP_MATCHER | 
| 2380 | 2382 | 
| 2381 }  // namespace compiler | 2383 }  // namespace compiler | 
| 2382 }  // namespace internal | 2384 }  // namespace internal | 
| 2383 }  // namespace v8 | 2385 }  // namespace v8 | 
| OLD | NEW | 
|---|