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

Side by Side Diff: src/assembler.h

Issue 2103093003: Fix '[wasm] Separate compilation from instantiation' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | no next file » | 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 557
558 // If true, the pointer this relocation info refers to is an entry in the 558 // If true, the pointer this relocation info refers to is an entry in the
559 // constant pool, otherwise the pointer is embedded in the instruction stream. 559 // constant pool, otherwise the pointer is embedded in the instruction stream.
560 bool IsInConstantPool(); 560 bool IsInConstantPool();
561 561
562 Address wasm_memory_reference(); 562 Address wasm_memory_reference();
563 Address wasm_global_reference(); 563 Address wasm_global_reference();
564 uint32_t wasm_memory_size_reference(); 564 uint32_t wasm_memory_size_reference();
565 void update_wasm_memory_reference( 565 void update_wasm_memory_reference(
566 Address old_base, Address new_base, uint32_t old_size, uint32_t new_size, 566 Address old_base, Address new_base, uint32_t old_size, uint32_t new_size,
567 ICacheFlushMode icache_flush_mode = SKIP_ICACHE_FLUSH); 567 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
568 void update_wasm_global_reference( 568 void update_wasm_global_reference(
569 Address old_base, Address new_base, 569 Address old_base, Address new_base,
570 ICacheFlushMode icache_flush_mode = SKIP_ICACHE_FLUSH); 570 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
571 571
572 // this relocation applies to; 572 // this relocation applies to;
573 // can only be called if IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) 573 // can only be called if IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)
574 INLINE(Address target_address()); 574 INLINE(Address target_address());
575 INLINE(void set_target_address( 575 INLINE(void set_target_address(
576 Address target, 576 Address target,
577 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, 577 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER,
578 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); 578 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
579 INLINE(Object* target_object()); 579 INLINE(Object* target_object());
580 INLINE(Handle<Object> target_object_handle(Assembler* origin)); 580 INLINE(Handle<Object> target_object_handle(Assembler* origin));
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 std::vector<ConstantPoolEntry> shared_entries; 1337 std::vector<ConstantPoolEntry> shared_entries;
1338 }; 1338 };
1339 1339
1340 Label emitted_label_; // Records pc_offset of emitted pool 1340 Label emitted_label_; // Records pc_offset of emitted pool
1341 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1341 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1342 }; 1342 };
1343 1343
1344 } // namespace internal 1344 } // namespace internal
1345 } // namespace v8 1345 } // namespace v8
1346 #endif // V8_ASSEMBLER_H_ 1346 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698