| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 UNREACHABLE(); | 66 UNREACHABLE(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 switch (instance_type) { | 69 switch (instance_type) { |
| 70 case BYTE_ARRAY_TYPE: | 70 case BYTE_ARRAY_TYPE: |
| 71 return kVisitByteArray; | 71 return kVisitByteArray; |
| 72 | 72 |
| 73 case FIXED_ARRAY_TYPE: | 73 case FIXED_ARRAY_TYPE: |
| 74 return kVisitFixedArray; | 74 return kVisitFixedArray; |
| 75 | 75 |
| 76 case FIXED_DOUBLE_ARRAY_TYPE: |
| 77 return kVisitFixedDoubleArray; |
| 78 |
| 76 case ODDBALL_TYPE: | 79 case ODDBALL_TYPE: |
| 77 return kVisitOddball; | 80 return kVisitOddball; |
| 78 | 81 |
| 79 case MAP_TYPE: | 82 case MAP_TYPE: |
| 80 return kVisitMap; | 83 return kVisitMap; |
| 81 | 84 |
| 82 case CODE_TYPE: | 85 case CODE_TYPE: |
| 83 return kVisitCode; | 86 return kVisitCode; |
| 84 | 87 |
| 85 case JS_GLOBAL_PROPERTY_CELL_TYPE: | 88 case JS_GLOBAL_PROPERTY_CELL_TYPE: |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 kVisitStructGeneric, | 142 kVisitStructGeneric, |
| 140 instance_size); | 143 instance_size); |
| 141 | 144 |
| 142 default: | 145 default: |
| 143 UNREACHABLE(); | 146 UNREACHABLE(); |
| 144 return kVisitorIdCount; | 147 return kVisitorIdCount; |
| 145 } | 148 } |
| 146 } | 149 } |
| 147 | 150 |
| 148 } } // namespace v8::internal | 151 } } // namespace v8::internal |
| OLD | NEW |