From 2ff097e17f8cc9b1eec80e8c9da90ed8e07f23c8 Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Wed, 18 Mar 2009 21:14:46 +0000 Subject: [PATCH] Minor build and code style issues. Review URL: http://codereview.chromium.org/42354 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1541 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/handles.cc | 2 +- test/cctest/test-api.cc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/handles.cc b/src/handles.cc index 808ae2450c..3772dcf3fd 100644 --- a/src/handles.cc +++ b/src/handles.cc @@ -72,7 +72,7 @@ void** HandleScope::Extend() { current_.limit = limit; } } - + // If we still haven't found a slot for the handle, we extend the // current handle scope by allocating a new handle block. if (result == current_.limit) { diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc index 4d3620befe..428b6365b9 100644 --- a/test/cctest/test-api.cc +++ b/test/cctest/test-api.cc @@ -5810,7 +5810,7 @@ TEST(ObjectClone) { v8::HandleScope scope; LocalContext env; - char* sample = + const char* sample = "var rv = {};" \ "rv.alpha = 'hello';" \ "rv.beta = 123;" \ @@ -5837,4 +5837,3 @@ TEST(ObjectClone) { CHECK_EQ(v8::Integer::New(123), obj->Get(v8_str("beta"))); CHECK_EQ(v8::Integer::New(456), clone->Get(v8_str("beta"))); } -