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:
parent
be0c1e26e9
commit
6e78598d77
@ -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;
|
CodeDesc desc;
|
||||||
masm_.GetCode(&desc);
|
masm_.GetCode(&desc);
|
||||||
Object* result = Heap::CreateCode(desc, NULL, flags, masm_.CodeObject());
|
Object* result = Heap::CreateCode(desc, NULL, flags, masm_.CodeObject());
|
||||||
|
@ -362,7 +362,7 @@ class StubCompiler BASE_EMBEDDED {
|
|||||||
static void GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind);
|
static void GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Object* GetCodeWithFlags(Code::Flags flags, char* name);
|
Object* GetCodeWithFlags(Code::Flags flags, const char* name);
|
||||||
Object* GetCodeWithFlags(Code::Flags flags, String* name);
|
Object* GetCodeWithFlags(Code::Flags flags, String* name);
|
||||||
|
|
||||||
MacroAssembler* masm() { return &masm_; }
|
MacroAssembler* masm() { return &masm_; }
|
||||||
|
Loading…
Reference in New Issue
Block a user