| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 2314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2325 *(p+2) = SPECIAL | rs_field | JR; | 2325 *(p+2) = SPECIAL | rs_field | JR; |
| 2326 patched = true; | 2326 patched = true; |
| 2327 } | 2327 } |
| 2328 | 2328 |
| 2329 if (patched) { | 2329 if (patched) { |
| 2330 CPU::FlushICache(pc+2, sizeof(Address)); | 2330 CPU::FlushICache(pc+2, sizeof(Address)); |
| 2331 } | 2331 } |
| 2332 } | 2332 } |
| 2333 | 2333 |
| 2334 | 2334 |
| 2335 MaybeObject* Assembler::AllocateConstantPool(Heap* heap) { | 2335 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { |
| 2336 // No out-of-line constant pool support. | 2336 // No out-of-line constant pool support. |
| 2337 UNREACHABLE(); | 2337 ASSERT(!FLAG_enable_ool_constant_pool); |
| 2338 return NULL; | 2338 return isolate->factory()->empty_constant_pool_array(); |
| 2339 } | 2339 } |
| 2340 | 2340 |
| 2341 | 2341 |
| 2342 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { | 2342 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { |
| 2343 // No out-of-line constant pool support. | 2343 // No out-of-line constant pool support. |
| 2344 UNREACHABLE(); | 2344 ASSERT(!FLAG_enable_ool_constant_pool); |
| 2345 return; |
| 2345 } | 2346 } |
| 2346 | 2347 |
| 2347 | 2348 |
| 2348 } } // namespace v8::internal | 2349 } } // namespace v8::internal |
| 2349 | 2350 |
| 2350 #endif // V8_TARGET_ARCH_MIPS | 2351 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |