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

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

Issue 1030353003: Enable constant pool support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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
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 2790 matching lines...) Expand 10 before | Expand all | Expand 10 after
2801 !serializer_enabled() && !emit_debug_code()) { 2801 !serializer_enabled() && !emit_debug_code()) {
2802 return; 2802 return;
2803 } 2803 }
2804 RelocInfo rinfo(pc_, rmode, data, NULL); 2804 RelocInfo rinfo(pc_, rmode, data, NULL);
2805 reloc_info_writer.Write(&rinfo); 2805 reloc_info_writer.Write(&rinfo);
2806 } 2806 }
2807 2807
2808 2808
2809 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { 2809 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) {
2810 // No out-of-line constant pool support. 2810 // No out-of-line constant pool support.
2811 DCHECK(!FLAG_enable_ool_constant_pool); 2811 UNREACHABLE();
2812 return isolate->factory()->empty_constant_pool_array(); 2812 return isolate->factory()->empty_constant_pool_array();
2813 } 2813 }
2814 2814
2815 2815
2816 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { 2816 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {
2817 // No out-of-line constant pool support. 2817 // No out-of-line constant pool support.
2818 DCHECK(!FLAG_enable_ool_constant_pool); 2818 UNREACHABLE();
2819 return; 2819 return;
2820 } 2820 }
2821 2821
2822 2822
2823 #ifdef GENERATED_CODE_COVERAGE 2823 #ifdef GENERATED_CODE_COVERAGE
2824 static FILE* coverage_log = NULL; 2824 static FILE* coverage_log = NULL;
2825 2825
2826 2826
2827 static void InitCoverageLog() { 2827 static void InitCoverageLog() {
2828 char* file_name = getenv("V8_GENERATED_CODE_COVERAGE_LOG"); 2828 char* file_name = getenv("V8_GENERATED_CODE_COVERAGE_LOG");
(...skipping 12 matching lines...) Expand all
2841 fprintf(coverage_log, "%s\n", file_line); 2841 fprintf(coverage_log, "%s\n", file_line);
2842 fflush(coverage_log); 2842 fflush(coverage_log);
2843 } 2843 }
2844 } 2844 }
2845 2845
2846 #endif 2846 #endif
2847 2847
2848 } } // namespace v8::internal 2848 } } // namespace v8::internal
2849 2849
2850 #endif // V8_TARGET_ARCH_IA32 2850 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698