Author: [email protected]
Date: Wed Mar 18 14:14:46 2009
New Revision: 1541
Modified:
branches/bleeding_edge/src/handles.cc
branches/bleeding_edge/test/cctest/test-api.cc
Log:
Minor build and code style issues.
Review URL: http://codereview.chromium.org/42354
Modified: branches/bleeding_edge/src/handles.cc
==============================================================================
--- branches/bleeding_edge/src/handles.cc (original)
+++ branches/bleeding_edge/src/handles.cc Wed Mar 18 14:14:46 2009
@@ -72,7 +72,7 @@
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) {
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 Wed Mar 18 14:14:46 2009
@@ -5810,7 +5810,7 @@
v8::HandleScope scope;
LocalContext env;
- char* sample =
+ const char* sample =
"var rv = {};" \
"rv.alpha = 'hello';" \
"rv.beta = 123;" \
@@ -5837,4 +5837,3 @@
CHECK_EQ(v8::Integer::New(123), obj->Get(v8_str("beta")));
CHECK_EQ(v8::Integer::New(456), clone->Get(v8_str("beta")));
}
-
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---