Fix test for building on 64-bit Linux.
TBR=sgjesse Review URL: http://codereview.chromium.org/41007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1463 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
38548e3da6
commit
9f6adefa55
@ -5321,7 +5321,7 @@ TEST(CatchStackOverflow) {
|
||||
|
||||
|
||||
static void CheckTryCatchSourceInfo(v8::Handle<v8::Script> script,
|
||||
char* resource_name,
|
||||
const char* resource_name,
|
||||
int line_offset) {
|
||||
v8::HandleScope scope;
|
||||
v8::TryCatch try_catch;
|
||||
@ -5360,7 +5360,7 @@ THREADED_TEST(TryCatchSourceInfo) {
|
||||
"\n"
|
||||
"Foo();\n");
|
||||
|
||||
char* resource_name;
|
||||
const char* resource_name;
|
||||
v8::Handle<v8::Script> script;
|
||||
resource_name = "test.js";
|
||||
script = v8::Script::Compile(source, v8::String::New(resource_name));
|
||||
|
Loading…
Reference in New Issue
Block a user