| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution 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 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions 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 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 NumberArray = Type::Array(Number, region); | 174 NumberArray = Type::Array(Number, region); |
| 175 StringArray = Type::Array(String, region); | 175 StringArray = Type::Array(String, region); |
| 176 AnyArray = Type::Array(Any, region); | 176 AnyArray = Type::Array(Any, region); |
| 177 | 177 |
| 178 SignedFunction1 = Type::Function(SignedSmall, SignedSmall, region); | 178 SignedFunction1 = Type::Function(SignedSmall, SignedSmall, region); |
| 179 NumberFunction1 = Type::Function(Number, Number, region); | 179 NumberFunction1 = Type::Function(Number, Number, region); |
| 180 NumberFunction2 = Type::Function(Number, Number, Number, region); | 180 NumberFunction2 = Type::Function(Number, Number, Number, region); |
| 181 MethodFunction = Type::Function(String, Object, 0, region); | 181 MethodFunction = Type::Function(String, Object, 0, region); |
| 182 | 182 |
| 183 for (int i = 0; i < 50; ++i) { | 183 for (int i = 0; i < 40; ++i) { |
| 184 types.push_back(Fuzz()); | 184 types.push_back(Fuzz()); |
| 185 } | 185 } |
| 186 } | 186 } |
| 187 | 187 |
| 188 Handle<i::Map> object_map; | 188 Handle<i::Map> object_map; |
| 189 Handle<i::Map> array_map; | 189 Handle<i::Map> array_map; |
| 190 Handle<i::Map> uninitialized_map; | 190 Handle<i::Map> uninitialized_map; |
| 191 | 191 |
| 192 Handle<i::Smi> smi; | 192 Handle<i::Smi> smi; |
| 193 Handle<i::HeapNumber> signed32; | 193 Handle<i::HeapNumber> signed32; |
| (...skipping 1739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1933 ZoneTests().Convert<HeapType, Handle<HeapType>, Isolate, HeapRep>(); | 1933 ZoneTests().Convert<HeapType, Handle<HeapType>, Isolate, HeapRep>(); |
| 1934 HeapTests().Convert<Type, Type*, Zone, ZoneRep>(); | 1934 HeapTests().Convert<Type, Type*, Zone, ZoneRep>(); |
| 1935 } | 1935 } |
| 1936 | 1936 |
| 1937 | 1937 |
| 1938 TEST(HTypeFromType) { | 1938 TEST(HTypeFromType) { |
| 1939 CcTest::InitializeVM(); | 1939 CcTest::InitializeVM(); |
| 1940 ZoneTests().HTypeFromType(); | 1940 ZoneTests().HTypeFromType(); |
| 1941 HeapTests().HTypeFromType(); | 1941 HeapTests().HTypeFromType(); |
| 1942 } | 1942 } |
| OLD | NEW |