Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: src/mips/assembler-mips.cc

Issue 235153003: Handlify code allocation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix mips tests Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 2310 matching lines...) Expand 10 before | Expand all | Expand 10 after
2321 *(p+2) = SPECIAL | rs_field | JR; 2321 *(p+2) = SPECIAL | rs_field | JR;
2322 patched = true; 2322 patched = true;
2323 } 2323 }
2324 2324
2325 if (patched) { 2325 if (patched) {
2326 CPU::FlushICache(pc+2, sizeof(Address)); 2326 CPU::FlushICache(pc+2, sizeof(Address));
2327 } 2327 }
2328 } 2328 }
2329 2329
2330 2330
2331 MaybeObject* Assembler::AllocateConstantPool(Heap* heap) { 2331 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) {
2332 // No out-of-line constant pool support. 2332 // No out-of-line constant pool support.
2333 UNREACHABLE(); 2333 ASSERT(!FLAG_enable_ool_constant_pool);
2334 return NULL; 2334 return isolate->factory()->empty_constant_pool_array();
2335 } 2335 }
2336 2336
2337 2337
2338 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { 2338 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {
2339 // No out-of-line constant pool support. 2339 // No out-of-line constant pool support.
2340 UNREACHABLE(); 2340 ASSERT(!FLAG_enable_ool_constant_pool);
2341 return;
2341 } 2342 }
2342 2343
2343 2344
2344 } } // namespace v8::internal 2345 } } // namespace v8::internal
2345 2346
2346 #endif // V8_TARGET_ARCH_MIPS 2347 #endif // V8_TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698