| 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 11066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11077 PrintF(out, "\n"); | 11077 PrintF(out, "\n"); |
| 11078 } | 11078 } |
| 11079 #endif | 11079 #endif |
| 11080 } | 11080 } |
| 11081 | 11081 |
| 11082 PrintF("RelocInfo (size = %d)\n", relocation_size()); | 11082 PrintF("RelocInfo (size = %d)\n", relocation_size()); |
| 11083 for (RelocIterator it(this); !it.done(); it.next()) { | 11083 for (RelocIterator it(this); !it.done(); it.next()) { |
| 11084 it.rinfo()->Print(GetIsolate(), out); | 11084 it.rinfo()->Print(GetIsolate(), out); |
| 11085 } | 11085 } |
| 11086 PrintF(out, "\n"); | 11086 PrintF(out, "\n"); |
| 11087 PrintF("--- End code ---\n"); |
| 11087 } | 11088 } |
| 11088 #endif // ENABLE_DISASSEMBLER | 11089 #endif // ENABLE_DISASSEMBLER |
| 11089 | 11090 |
| 11090 | 11091 |
| 11091 MaybeObject* JSObject::SetFastElementsCapacityAndLength( | 11092 MaybeObject* JSObject::SetFastElementsCapacityAndLength( |
| 11092 int capacity, | 11093 int capacity, |
| 11093 int length, | 11094 int length, |
| 11094 SetFastElementsCapacitySmiMode smi_mode) { | 11095 SetFastElementsCapacitySmiMode smi_mode) { |
| 11095 Heap* heap = GetHeap(); | 11096 Heap* heap = GetHeap(); |
| 11096 // We should never end in here with a pixel or external array. | 11097 // We should never end in here with a pixel or external array. |
| (...skipping 5272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16369 #define ERROR_MESSAGES_TEXTS(C, T) T, | 16370 #define ERROR_MESSAGES_TEXTS(C, T) T, |
| 16370 static const char* error_messages_[] = { | 16371 static const char* error_messages_[] = { |
| 16371 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) | 16372 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) |
| 16372 }; | 16373 }; |
| 16373 #undef ERROR_MESSAGES_TEXTS | 16374 #undef ERROR_MESSAGES_TEXTS |
| 16374 return error_messages_[reason]; | 16375 return error_messages_[reason]; |
| 16375 } | 16376 } |
| 16376 | 16377 |
| 16377 | 16378 |
| 16378 } } // namespace v8::internal | 16379 } } // namespace v8::internal |
| OLD | NEW |