Commit 6e78598d authored by ager@chromium.org's avatar ager@chromium.org

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
parent be0c1e26
......@@ -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());
......
......@@ -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_; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment