OLD | NEW |
---|---|
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
98 if (!IsMinusZero(x)) integers.push_back(isolate->factory()->NewNumber(x)); | 98 if (!IsMinusZero(x)) integers.push_back(isolate->factory()->NewNumber(x)); |
99 } | 99 } |
100 | 100 |
101 Integer = Type::Range(isolate->factory()->NewNumber(-V8_INFINITY), | 101 Integer = Type::Range(isolate->factory()->NewNumber(-V8_INFINITY), |
102 isolate->factory()->NewNumber(+V8_INFINITY), region); | 102 isolate->factory()->NewNumber(+V8_INFINITY), region); |
103 | 103 |
104 NumberArray = Type::Array(Number, region); | 104 NumberArray = Type::Array(Number, region); |
105 StringArray = Type::Array(String, region); | 105 StringArray = Type::Array(String, region); |
106 AnyArray = Type::Array(Any, region); | 106 AnyArray = Type::Array(Any, region); |
107 | 107 |
108 SignedFunction1 = Type::Function(SignedSmall, SignedSmall, region); | 108 SignedFunction1 = Type::Function(Signed31, Signed31, region); |
rossberg
2015/01/15 15:15:12
Same here.
Jarin
2015/01/16 16:28:40
Done.
| |
109 NumberFunction1 = Type::Function(Number, Number, region); | 109 NumberFunction1 = Type::Function(Number, Number, region); |
110 NumberFunction2 = Type::Function(Number, Number, Number, region); | 110 NumberFunction2 = Type::Function(Number, Number, Number, region); |
111 MethodFunction = Type::Function(String, Object, 0, region); | 111 MethodFunction = Type::Function(String, Object, 0, region); |
112 | 112 |
113 for (int i = 0; i < 30; ++i) { | 113 for (int i = 0; i < 30; ++i) { |
114 types.push_back(Fuzz()); | 114 types.push_back(Fuzz()); |
115 } | 115 } |
116 } | 116 } |
117 | 117 |
118 Handle<i::Map> object_map; | 118 Handle<i::Map> object_map; |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
302 | 302 |
303 private: | 303 private: |
304 Region* region_; | 304 Region* region_; |
305 v8::base::RandomNumberGenerator* rng_; | 305 v8::base::RandomNumberGenerator* rng_; |
306 }; | 306 }; |
307 | 307 |
308 | 308 |
309 } } // namespace v8::internal | 309 } } // namespace v8::internal |
310 | 310 |
311 #endif | 311 #endif |
OLD | NEW |