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

Side by Side Diff: src/ia32/assembler-ia32.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/ia32/assembler-ia32.h ('k') | src/mips/assembler-mips.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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 2699 matching lines...) Expand 10 before | Expand all | Expand 10 after
2710 #endif 2710 #endif
2711 if (!Serializer::enabled() && !emit_debug_code()) { 2711 if (!Serializer::enabled() && !emit_debug_code()) {
2712 return; 2712 return;
2713 } 2713 }
2714 } 2714 }
2715 RelocInfo rinfo(pc_, rmode, data, NULL); 2715 RelocInfo rinfo(pc_, rmode, data, NULL);
2716 reloc_info_writer.Write(&rinfo); 2716 reloc_info_writer.Write(&rinfo);
2717 } 2717 }
2718 2718
2719 2719
2720 MaybeObject* Assembler::AllocateConstantPool(Heap* heap) { 2720 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) {
2721 // No out-of-line constant pool support. 2721 // No out-of-line constant pool support.
2722 UNREACHABLE(); 2722 ASSERT(!FLAG_enable_ool_constant_pool);
2723 return NULL; 2723 return isolate->factory()->empty_constant_pool_array();
2724 } 2724 }
2725 2725
2726 2726
2727 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { 2727 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {
2728 // No out-of-line constant pool support. 2728 // No out-of-line constant pool support.
2729 UNREACHABLE(); 2729 ASSERT(!FLAG_enable_ool_constant_pool);
2730 return;
2730 } 2731 }
2731 2732
2732 2733
2733 #ifdef GENERATED_CODE_COVERAGE 2734 #ifdef GENERATED_CODE_COVERAGE
2734 static FILE* coverage_log = NULL; 2735 static FILE* coverage_log = NULL;
2735 2736
2736 2737
2737 static void InitCoverageLog() { 2738 static void InitCoverageLog() {
2738 char* file_name = getenv("V8_GENERATED_CODE_COVERAGE_LOG"); 2739 char* file_name = getenv("V8_GENERATED_CODE_COVERAGE_LOG");
2739 if (file_name != NULL) { 2740 if (file_name != NULL) {
(...skipping 11 matching lines...) Expand all
2751 fprintf(coverage_log, "%s\n", file_line); 2752 fprintf(coverage_log, "%s\n", file_line);
2752 fflush(coverage_log); 2753 fflush(coverage_log);
2753 } 2754 }
2754 } 2755 }
2755 2756
2756 #endif 2757 #endif
2757 2758
2758 } } // namespace v8::internal 2759 } } // namespace v8::internal
2759 2760
2760 #endif // V8_TARGET_ARCH_IA32 2761 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/mips/assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698