| 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 | 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 2032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2043 !serializer_enabled() && !emit_debug_code()) { | 2043 !serializer_enabled() && !emit_debug_code()) { |
| 2044 return; | 2044 return; |
| 2045 } | 2045 } |
| 2046 RelocInfo rinfo(pc_, rmode, data, NULL); | 2046 RelocInfo rinfo(pc_, rmode, data, NULL); |
| 2047 reloc_info_writer.Write(&rinfo); | 2047 reloc_info_writer.Write(&rinfo); |
| 2048 } | 2048 } |
| 2049 | 2049 |
| 2050 | 2050 |
| 2051 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { | 2051 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { |
| 2052 // No out-of-line constant pool support. | 2052 // No out-of-line constant pool support. |
| 2053 DCHECK(!FLAG_enable_ool_constant_pool); | 2053 UNREACHABLE(); |
| 2054 return isolate->factory()->empty_constant_pool_array(); | 2054 return isolate->factory()->empty_constant_pool_array(); |
| 2055 } | 2055 } |
| 2056 | 2056 |
| 2057 | 2057 |
| 2058 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { | 2058 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { |
| 2059 // No out-of-line constant pool support. | 2059 // No out-of-line constant pool support. |
| 2060 DCHECK(!FLAG_enable_ool_constant_pool); | 2060 UNREACHABLE(); |
| 2061 return; | 2061 return; |
| 2062 } | 2062 } |
| 2063 | 2063 |
| 2064 | 2064 |
| 2065 #ifdef GENERATED_CODE_COVERAGE | 2065 #ifdef GENERATED_CODE_COVERAGE |
| 2066 static FILE* coverage_log = NULL; | 2066 static FILE* coverage_log = NULL; |
| 2067 | 2067 |
| 2068 | 2068 |
| 2069 static void InitCoverageLog() { | 2069 static void InitCoverageLog() { |
| 2070 char* file_name = getenv("V8_GENERATED_CODE_COVERAGE_LOG"); | 2070 char* file_name = getenv("V8_GENERATED_CODE_COVERAGE_LOG"); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 2083 fprintf(coverage_log, "%s\n", file_line); | 2083 fprintf(coverage_log, "%s\n", file_line); |
| 2084 fflush(coverage_log); | 2084 fflush(coverage_log); |
| 2085 } | 2085 } |
| 2086 } | 2086 } |
| 2087 | 2087 |
| 2088 #endif | 2088 #endif |
| 2089 | 2089 |
| 2090 } } // namespace v8::internal | 2090 } } // namespace v8::internal |
| 2091 | 2091 |
| 2092 #endif // V8_TARGET_ARCH_X87 | 2092 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |