Fix the 64-bit build. Implicit conversion from string constant to

char* gives a warning.  Using const char* instead.
Review URL: http://codereview.chromium.org/40100

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1409 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ager@chromium.org 2009-03-04 07:42:39 +00:00
parent be0c1e26e9
commit 6e78598d77
2 changed files with 2 additions and 2 deletions

View File

@ -889,7 +889,7 @@ Object* StubCompiler::CompileCallDebugPrepareStepIn(Code::Flags flags) {
}
Object* StubCompiler::GetCodeWithFlags(Code::Flags flags, char* name) {
Object* StubCompiler::GetCodeWithFlags(Code::Flags flags, const char* name) {
CodeDesc desc;
masm_.GetCode(&desc);
Object* result = Heap::CreateCode(desc, NULL, flags, masm_.CodeObject());

View File

@ -362,7 +362,7 @@ class StubCompiler BASE_EMBEDDED {
static void GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind);
protected:
Object* GetCodeWithFlags(Code::Flags flags, char* name);
Object* GetCodeWithFlags(Code::Flags flags, const char* name);
Object* GetCodeWithFlags(Code::Flags flags, String* name);
MacroAssembler* masm() { return &masm_; }