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

Unified Diff: src/ia32/assembler-ia32.cc

Issue 6893156: Unified CallWrapper and PostCallGenerator classes, the former is a (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: src/ia32/assembler-ia32.cc
===================================================================
--- src/ia32/assembler-ia32.cc (revision 7748)
+++ src/ia32/assembler-ia32.cc (working copy)
@@ -1580,6 +1580,11 @@
}
+int Assembler::CallSize(const Operand& adr) {
+ return 1 /* EMIT */ + adr.len_ /* emit_operand */;
Kevin Millikin (Chromium) 2011/05/03 08:43:19 I find the inline comments distracting here. I'd
Sven Panne 2011/05/03 09:09:54 Done.
+}
+
+
void Assembler::call(const Operand& adr) {
positions_recorder()->WriteRecordedPositions();
EnsureSpace ensure_space(this);
@@ -1589,6 +1594,11 @@
}
+int Assembler::CallSize(Handle<Code> code, RelocInfo::Mode rmode) {
+ return 1 /* EMIT */ + sizeof(uint32_t) /* emit */;
+}
+
+
void Assembler::call(Handle<Code> code,
RelocInfo::Mode rmode,
unsigned ast_id) {

Powered by Google App Engine
This is Rietveld 408576698