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

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: addressed comments 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
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2314 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698