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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 class HandlifiedTypes { | 100 class HandlifiedTypes { |
101 public: | 101 public: |
102 explicit HandlifiedTypes(Isolate* isolate) : | 102 explicit HandlifiedTypes(Isolate* isolate) : |
103 None(Type::None(), isolate), | 103 None(Type::None(), isolate), |
104 Any(Type::Any(), isolate), | 104 Any(Type::Any(), isolate), |
105 Oddball(Type::Oddball(), isolate), | 105 Oddball(Type::Oddball(), isolate), |
106 Boolean(Type::Boolean(), isolate), | 106 Boolean(Type::Boolean(), isolate), |
107 Null(Type::Null(), isolate), | 107 Null(Type::Null(), isolate), |
108 Undefined(Type::Undefined(), isolate), | 108 Undefined(Type::Undefined(), isolate), |
109 Number(Type::Number(), isolate), | 109 Number(Type::Number(), isolate), |
110 Integer31(Type::Integer31(), isolate), | 110 Integer31(Type::Smi(), isolate), |
111 Integer32(Type::Integer32(), isolate), | 111 Integer32(Type::Signed32(), isolate), |
112 Double(Type::Double(), isolate), | 112 Double(Type::Double(), isolate), |
113 Name(Type::Name(), isolate), | 113 Name(Type::Name(), isolate), |
114 UniqueName(Type::UniqueName(), isolate), | 114 UniqueName(Type::UniqueName(), isolate), |
115 String(Type::String(), isolate), | 115 String(Type::String(), isolate), |
116 InternalizedString(Type::InternalizedString(), isolate), | 116 InternalizedString(Type::InternalizedString(), isolate), |
117 Symbol(Type::Symbol(), isolate), | 117 Symbol(Type::Symbol(), isolate), |
118 Receiver(Type::Receiver(), isolate), | 118 Receiver(Type::Receiver(), isolate), |
119 Object(Type::Object(), isolate), | 119 Object(Type::Object(), isolate), |
120 Array(Type::Array(), isolate), | 120 Array(Type::Array(), isolate), |
121 Function(Type::Function(), isolate), | 121 Function(Type::Function(), isolate), |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 T.Union(T.Union(T.ObjectConstant2, T.ObjectConstant1), T.ArrayClass), | 697 T.Union(T.Union(T.ObjectConstant2, T.ObjectConstant1), T.ArrayClass), |
698 T.Union( | 698 T.Union( |
699 T.ObjectConstant1, T.Union(T.ArrayConstant1, T.ObjectConstant2))), | 699 T.ObjectConstant1, T.Union(T.ArrayConstant1, T.ObjectConstant2))), |
700 T.Union(T.ObjectConstant2, T.ObjectConstant1)); | 700 T.Union(T.ObjectConstant2, T.ObjectConstant1)); |
701 CheckEqual( | 701 CheckEqual( |
702 T.Intersect( | 702 T.Intersect( |
703 T.Union(T.ObjectConstant2, T.ArrayConstant1), | 703 T.Union(T.ObjectConstant2, T.ArrayConstant1), |
704 T.Union(T.ObjectConstant1, T.ArrayConstant2)), | 704 T.Union(T.ObjectConstant1, T.ArrayConstant2)), |
705 T.ArrayConstant1); | 705 T.ArrayConstant1); |
706 } | 706 } |
OLD | NEW |