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

Side by Side Diff: src/arm64/assembler-arm64.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/arm64/assembler-arm64.h ('k') | src/builtins.cc » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer. 8 // notice, this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following 10 // copyright notice, this list of conditions and the following
(...skipping 2813 matching lines...) Expand 10 before | Expand all | Expand 10 after
2824 2824
2825 void Assembler::RecordConstPool(int size) { 2825 void Assembler::RecordConstPool(int size) {
2826 // We only need this for debugger support, to correctly compute offsets in the 2826 // We only need this for debugger support, to correctly compute offsets in the
2827 // code. 2827 // code.
2828 #ifdef ENABLE_DEBUGGER_SUPPORT 2828 #ifdef ENABLE_DEBUGGER_SUPPORT
2829 RecordRelocInfo(RelocInfo::CONST_POOL, static_cast<intptr_t>(size)); 2829 RecordRelocInfo(RelocInfo::CONST_POOL, static_cast<intptr_t>(size));
2830 #endif 2830 #endif
2831 } 2831 }
2832 2832
2833 2833
2834 MaybeObject* Assembler::AllocateConstantPool(Heap* heap) { 2834 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) {
2835 // No out-of-line constant pool support. 2835 // No out-of-line constant pool support.
2836 UNREACHABLE(); 2836 ASSERT(!FLAG_enable_ool_constant_pool);
2837 return NULL; 2837 return isolate->factory()->empty_constant_pool_array();
2838 } 2838 }
2839 2839
2840 2840
2841 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { 2841 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {
2842 // No out-of-line constant pool support. 2842 // No out-of-line constant pool support.
2843 UNREACHABLE(); 2843 ASSERT(!FLAG_enable_ool_constant_pool);
2844 return;
2844 } 2845 }
2845 2846
2846 2847
2847 void PatchingAssembler::MovInt64(const Register& rd, int64_t imm) { 2848 void PatchingAssembler::MovInt64(const Register& rd, int64_t imm) {
2848 Label start; 2849 Label start;
2849 bind(&start); 2850 bind(&start);
2850 2851
2851 ASSERT(rd.Is64Bits()); 2852 ASSERT(rd.Is64Bits());
2852 ASSERT(!rd.IsSP()); 2853 ASSERT(!rd.IsSP());
2853 2854
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
2910 adr(rd, 0); 2911 adr(rd, 0);
2911 MovInt64(scratch, target_offset); 2912 MovInt64(scratch, target_offset);
2912 add(rd, rd, scratch); 2913 add(rd, rd, scratch);
2913 } 2914 }
2914 } 2915 }
2915 2916
2916 2917
2917 } } // namespace v8::internal 2918 } } // namespace v8::internal
2918 2919
2919 #endif // V8_TARGET_ARCH_ARM64 2920 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/assembler-arm64.h ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698