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

Side by Side Diff: src/x64/assembler-x64.h

Issue 2021323003: [wasm] remove faux code objects Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/wasm/wasm-module.cc ('k') | src/x64/assembler-x64.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 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 // bind(&L); // illegal: a label may be bound only once 905 // bind(&L); // illegal: a label may be bound only once
906 // 906 //
907 // Note: The same Label can be used for forward and backward branches 907 // Note: The same Label can be used for forward and backward branches
908 // but it may be bound only once. 908 // but it may be bound only once.
909 909
910 void bind(Label* L); // binds an unbound label L to the current code position 910 void bind(Label* L); // binds an unbound label L to the current code position
911 911
912 // Calls 912 // Calls
913 // Call near relative 32-bit displacement, relative to next instruction. 913 // Call near relative 32-bit displacement, relative to next instruction.
914 void call(Label* L); 914 void call(Label* L);
915 void wasm_call(uint32_t index, RelocInfo::Mode rmode);
915 void call(Address entry, RelocInfo::Mode rmode); 916 void call(Address entry, RelocInfo::Mode rmode);
916 void call(Handle<Code> target, 917 void call(Handle<Code> target,
917 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, 918 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
918 TypeFeedbackId ast_id = TypeFeedbackId::None()); 919 TypeFeedbackId ast_id = TypeFeedbackId::None());
919 920
920 // Calls directly to the given address using a relative offset. 921 // Calls directly to the given address using a relative offset.
921 // Should only ever be used in Code objects for calls within the 922 // Should only ever be used in Code objects for calls within the
922 // same Code object. Should not be used when generating new code (use labels), 923 // same Code object. Should not be used when generating new code (use labels),
923 // but only when patching existing code. 924 // but only when patching existing code.
924 void call(Address target); 925 void call(Address target);
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
2280 Assembler* assembler_; 2281 Assembler* assembler_;
2281 #ifdef DEBUG 2282 #ifdef DEBUG
2282 int space_before_; 2283 int space_before_;
2283 #endif 2284 #endif
2284 }; 2285 };
2285 2286
2286 } // namespace internal 2287 } // namespace internal
2287 } // namespace v8 2288 } // namespace v8
2288 2289
2289 #endif // V8_X64_ASSEMBLER_X64_H_ 2290 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/wasm/wasm-module.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698