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 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 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2073 // Adjust code for new modes. | 2073 // Adjust code for new modes. |
2074 ASSERT(RelocInfo::IsDebugBreakSlot(rmode) | 2074 ASSERT(RelocInfo::IsDebugBreakSlot(rmode) |
2075 || RelocInfo::IsJSReturn(rmode) | 2075 || RelocInfo::IsJSReturn(rmode) |
2076 || RelocInfo::IsComment(rmode) | 2076 || RelocInfo::IsComment(rmode) |
2077 || RelocInfo::IsPosition(rmode)); | 2077 || RelocInfo::IsPosition(rmode)); |
2078 // These modes do not need an entry in the constant pool. | 2078 // These modes do not need an entry in the constant pool. |
2079 } | 2079 } |
2080 if (!RelocInfo::IsNone(rinfo.rmode())) { | 2080 if (!RelocInfo::IsNone(rinfo.rmode())) { |
2081 // Don't record external references unless the heap will be serialized. | 2081 // Don't record external references unless the heap will be serialized. |
2082 if (rmode == RelocInfo::EXTERNAL_REFERENCE) { | 2082 if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
2083 if (!Serializer::enabled() && !emit_debug_code()) { | 2083 if (!Serializer::enabled(isolate()) && !emit_debug_code()) { |
2084 return; | 2084 return; |
2085 } | 2085 } |
2086 } | 2086 } |
2087 ASSERT(buffer_space() >= kMaxRelocSize); // Too late to grow buffer here. | 2087 ASSERT(buffer_space() >= kMaxRelocSize); // Too late to grow buffer here. |
2088 if (rmode == RelocInfo::CODE_TARGET_WITH_ID) { | 2088 if (rmode == RelocInfo::CODE_TARGET_WITH_ID) { |
2089 RelocInfo reloc_info_with_ast_id(pc_, | 2089 RelocInfo reloc_info_with_ast_id(pc_, |
2090 rmode, | 2090 rmode, |
2091 RecordedAstId().ToInt(), | 2091 RecordedAstId().ToInt(), |
2092 NULL); | 2092 NULL); |
2093 ClearRecordedAstId(); | 2093 ClearRecordedAstId(); |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ASSERT(!FLAG_enable_ool_constant_pool); | 2340 ASSERT(!FLAG_enable_ool_constant_pool); |
2341 return; | 2341 return; |
2342 } | 2342 } |
2343 | 2343 |
2344 | 2344 |
2345 } } // namespace v8::internal | 2345 } } // namespace v8::internal |
2346 | 2346 |
2347 #endif // V8_TARGET_ARCH_MIPS | 2347 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |