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

Side by Side Diff: src/assembler.h

Issue 2735103003: Merged: [wasm] Fix code specialization for empty memory buffer (Closed)
Patch Set: Created 3 years, 9 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 | 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 499
500 // If true, the pointer this relocation info refers to is an entry in the 500 // If true, the pointer this relocation info refers to is an entry in the
501 // constant pool, otherwise the pointer is embedded in the instruction stream. 501 // constant pool, otherwise the pointer is embedded in the instruction stream.
502 bool IsInConstantPool(); 502 bool IsInConstantPool();
503 503
504 Address wasm_memory_reference(); 504 Address wasm_memory_reference();
505 Address wasm_global_reference(); 505 Address wasm_global_reference();
506 uint32_t wasm_function_table_size_reference(); 506 uint32_t wasm_function_table_size_reference();
507 uint32_t wasm_memory_size_reference(); 507 uint32_t wasm_memory_size_reference();
508 void update_wasm_memory_reference( 508 void update_wasm_memory_reference(
509 Address old_base, Address new_base, uint32_t old_size, uint32_t new_size, 509 Address old_base, Address new_base,
510 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
511 void update_wasm_memory_size(
512 uint32_t old_size, uint32_t new_size,
510 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); 513 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
511 void update_wasm_global_reference( 514 void update_wasm_global_reference(
512 Address old_base, Address new_base, 515 Address old_base, Address new_base,
513 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); 516 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
514 void update_wasm_function_table_size_reference( 517 void update_wasm_function_table_size_reference(
515 uint32_t old_base, uint32_t new_base, 518 uint32_t old_base, uint32_t new_base,
516 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); 519 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
517 void set_target_address( 520 void set_target_address(
518 Address target, 521 Address target,
519 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, 522 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER,
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 std::vector<ConstantPoolEntry> shared_entries; 1242 std::vector<ConstantPoolEntry> shared_entries;
1240 }; 1243 };
1241 1244
1242 Label emitted_label_; // Records pc_offset of emitted pool 1245 Label emitted_label_; // Records pc_offset of emitted pool
1243 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1246 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1244 }; 1247 };
1245 1248
1246 } // namespace internal 1249 } // namespace internal
1247 } // namespace v8 1250 } // namespace v8
1248 #endif // V8_ASSEMBLER_H_ 1251 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698