| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 switch (state_) { | 190 switch (state_) { |
| 191 case CompareIC::UNINITIALIZED: | 191 case CompareIC::UNINITIALIZED: |
| 192 GenerateMiss(masm); | 192 GenerateMiss(masm); |
| 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: |
| 201 GenerateStrings(masm); |
| 202 break; |
| 200 case CompareIC::OBJECTS: | 203 case CompareIC::OBJECTS: |
| 201 GenerateObjects(masm); | 204 GenerateObjects(masm); |
| 202 break; | 205 break; |
| 203 default: | 206 default: |
| 204 UNREACHABLE(); | 207 UNREACHABLE(); |
| 205 } | 208 } |
| 206 } | 209 } |
| 207 | 210 |
| 208 | 211 |
| 209 const char* InstanceofStub::GetName() { | 212 const char* InstanceofStub::GetName() { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 231 OS::SNPrintF(Vector<char>(name_, kMaxNameLength), | 234 OS::SNPrintF(Vector<char>(name_, kMaxNameLength), |
| 232 "InstanceofStub%s%s%s", | 235 "InstanceofStub%s%s%s", |
| 233 args, | 236 args, |
| 234 inline_check, | 237 inline_check, |
| 235 return_true_false_object); | 238 return_true_false_object); |
| 236 return name_; | 239 return name_; |
| 237 } | 240 } |
| 238 | 241 |
| 239 | 242 |
| 240 } } // namespace v8::internal | 243 } } // namespace v8::internal |
| OLD | NEW |