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

Side by Side Diff: src/assembler.h

Issue 2250913002: [v8] Move all the RelocInfo::set_target_address function into one place. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Forget to modify assembler-arm64-inl.h Created 4 years, 4 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
« no previous file with comments | « src/arm64/assembler-arm64-inl.h ('k') | src/assembler.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 (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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 549
550 Address wasm_memory_reference(); 550 Address wasm_memory_reference();
551 Address wasm_global_reference(); 551 Address wasm_global_reference();
552 uint32_t wasm_memory_size_reference(); 552 uint32_t wasm_memory_size_reference();
553 void update_wasm_memory_reference( 553 void update_wasm_memory_reference(
554 Address old_base, Address new_base, uint32_t old_size, uint32_t new_size, 554 Address old_base, Address new_base, uint32_t old_size, uint32_t new_size,
555 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); 555 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
556 void update_wasm_global_reference( 556 void update_wasm_global_reference(
557 Address old_base, Address new_base, 557 Address old_base, Address new_base,
558 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); 558 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
559 void set_target_address(
560 Address target,
561 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER,
562 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
559 563
560 // this relocation applies to; 564 // this relocation applies to;
561 // can only be called if IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) 565 // can only be called if IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)
562 INLINE(Address target_address()); 566 INLINE(Address target_address());
563 INLINE(void set_target_address(
564 Address target,
565 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER,
566 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
567 INLINE(Object* target_object()); 567 INLINE(Object* target_object());
568 INLINE(Handle<Object> target_object_handle(Assembler* origin)); 568 INLINE(Handle<Object> target_object_handle(Assembler* origin));
569 INLINE(void set_target_object( 569 INLINE(void set_target_object(
570 Object* target, 570 Object* target,
571 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, 571 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER,
572 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); 572 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
573 INLINE(Address target_runtime_entry(Assembler* origin)); 573 INLINE(Address target_runtime_entry(Assembler* origin));
574 INLINE(void set_target_runtime_entry( 574 INLINE(void set_target_runtime_entry(
575 Address target, 575 Address target,
576 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, 576 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER,
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 std::vector<ConstantPoolEntry> shared_entries; 1272 std::vector<ConstantPoolEntry> shared_entries;
1273 }; 1273 };
1274 1274
1275 Label emitted_label_; // Records pc_offset of emitted pool 1275 Label emitted_label_; // Records pc_offset of emitted pool
1276 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1276 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1277 }; 1277 };
1278 1278
1279 } // namespace internal 1279 } // namespace internal
1280 } // namespace v8 1280 } // namespace v8
1281 #endif // V8_ASSEMBLER_H_ 1281 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm64/assembler-arm64-inl.h ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698