Author: [email protected]
Date: Mon Mar  9 12:48:25 2009
New Revision: 1463

Modified:
    branches/bleeding_edge/test/cctest/test-api.cc

Log:
Fix test for building on 64-bit Linux.

TBR=sgjesse
Review URL: http://codereview.chromium.org/41007

Modified: branches/bleeding_edge/test/cctest/test-api.cc
==============================================================================
--- branches/bleeding_edge/test/cctest/test-api.cc      (original)
+++ branches/bleeding_edge/test/cctest/test-api.cc      Mon Mar  9 12:48:25 2009
@@ -5321,7 +5321,7 @@


  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 @@
        "\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));

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to