OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 break; | 193 break; |
194 case CompareIC::SMIS: | 194 case CompareIC::SMIS: |
195 GenerateSmis(masm); | 195 GenerateSmis(masm); |
196 break; | 196 break; |
197 case CompareIC::HEAP_NUMBERS: | 197 case CompareIC::HEAP_NUMBERS: |
198 GenerateHeapNumbers(masm); | 198 GenerateHeapNumbers(masm); |
199 break; | 199 break; |
200 case CompareIC::STRINGS: | 200 case CompareIC::STRINGS: |
201 GenerateStrings(masm); | 201 GenerateStrings(masm); |
202 break; | 202 break; |
| 203 case CompareIC::SYMBOLS: |
| 204 GenerateSymbols(masm); |
| 205 break; |
203 case CompareIC::OBJECTS: | 206 case CompareIC::OBJECTS: |
204 GenerateObjects(masm); | 207 GenerateObjects(masm); |
205 break; | 208 break; |
206 default: | 209 default: |
207 UNREACHABLE(); | 210 UNREACHABLE(); |
208 } | 211 } |
209 } | 212 } |
210 | 213 |
211 | 214 |
212 const char* InstanceofStub::GetName() { | 215 const char* InstanceofStub::GetName() { |
(...skipping 21 matching lines...) Expand all Loading... |
234 OS::SNPrintF(Vector<char>(name_, kMaxNameLength), | 237 OS::SNPrintF(Vector<char>(name_, kMaxNameLength), |
235 "InstanceofStub%s%s%s", | 238 "InstanceofStub%s%s%s", |
236 args, | 239 args, |
237 inline_check, | 240 inline_check, |
238 return_true_false_object); | 241 return_true_false_object); |
239 return name_; | 242 return name_; |
240 } | 243 } |
241 | 244 |
242 | 245 |
243 } } // namespace v8::internal | 246 } } // namespace v8::internal |
OLD | NEW |