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

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

Issue 3186: Refactor the enum RelocMode changing the naming scheme from lower case to... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 3 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
« no previous file with comments | « src/macro-assembler-ia32.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/macro-assembler-ia32.cc
===================================================================
--- src/macro-assembler-ia32.cc (revision 352)
+++ src/macro-assembler-ia32.cc (working copy)
@@ -503,7 +503,7 @@
void MacroAssembler::CallStub(CodeStub* stub) {
ASSERT(allow_stub_calls()); // calls are not allowed in some stubs
- call(stub->GetCode(), code_target);
+ call(stub->GetCode(), RelocInfo::CODE_TARGET);
}
@@ -554,7 +554,7 @@
// Set the entry point and jump to the C entry runtime stub.
mov(Operand(ebx), Immediate(ext));
CEntryStub ces;
- jmp(ces.GetCode(), code_target);
+ jmp(ces.GetCode(), RelocInfo::CODE_TARGET);
}
@@ -613,10 +613,10 @@
}
if (flag == CALL_FUNCTION) {
- call(adaptor, code_target);
+ call(adaptor, RelocInfo::CODE_TARGET);
jmp(done);
} else {
- jmp(adaptor, code_target);
+ jmp(adaptor, RelocInfo::CODE_TARGET);
}
bind(&invoke);
}
@@ -642,7 +642,7 @@
void MacroAssembler::InvokeCode(Handle<Code> code,
const ParameterCount& expected,
const ParameterCount& actual,
- RelocMode rmode,
+ RelocInfo::Mode rmode,
InvokeFlag flag) {
Label done;
Operand dummy(eax);
@@ -683,7 +683,8 @@
// arguments match the expected number of arguments. Fake a
// parameter count to avoid emitting code to do the check.
ParameterCount expected(0);
- InvokeCode(Handle<Code>(code), expected, expected, code_target, flag);
+ InvokeCode(Handle<Code>(code), expected, expected,
+ RelocInfo::CODE_TARGET, flag);
const char* name = Builtins::GetName(id);
int argc = Builtins::GetArgumentsCount(id);
« no previous file with comments | « src/macro-assembler-ia32.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698