Revision: 4792
Author: [email protected]
Date: Thu Jun 3 09:00:45 2010
Log: [Isolates] Make lint happy.
Review URL: http://codereview.chromium.org/2593001
http://code.google.com/p/v8/source/detail?r=4792
Modified:
/branches/experimental/isolates/src/api.cc
/branches/experimental/isolates/src/heap.h
/branches/experimental/isolates/src/isolate.h
/branches/experimental/isolates/src/zone.h
/branches/experimental/isolates/test/cctest/test-serialize.cc
=======================================
--- /branches/experimental/isolates/src/api.cc Wed Jun 2 08:08:09 2010
+++ /branches/experimental/isolates/src/api.cc Thu Jun 3 09:00:45 2010
@@ -3050,7 +3050,7 @@
bool v8::V8::Initialize() {
if (i::V8::IsRunning()) return true;
ENTER_V8;
- if(i::Snapshot::Initialize()) return true;
+ if (i::Snapshot::Initialize()) return true;
return i::V8::Initialize(NULL);
}
=======================================
--- /branches/experimental/isolates/src/heap.h Tue Jun 1 03:51:42 2010
+++ /branches/experimental/isolates/src/heap.h Thu Jun 3 09:00:45 2010
@@ -1019,7 +1019,7 @@
private:
Heap();
-
+
static int reserved_semispace_size_;
static int max_semispace_size_;
static int initial_semispace_size_;
@@ -1269,7 +1269,7 @@
friend class AlwaysAllocateScope;
friend class LinearAllocationScope;
friend class Isolate;
-
+
DISALLOW_COPY_AND_ASSIGN(Heap);
};
=======================================
--- /branches/experimental/isolates/src/isolate.h Wed Jun 2 09:14:32 2010
+++ /branches/experimental/isolates/src/isolate.h Thu Jun 3 09:00:45 2010
@@ -55,7 +55,7 @@
// Creates a new isolate (perhaps using a deserializer). Returns null
// on failure.
static Isolate* Create(Deserializer* des);
-
+
// Initialize process-wide state.
static void InitOnce();
@@ -78,7 +78,7 @@
Isolate();
static Isolate* global_isolate;
-
+
bool Init(Deserializer* des);
Bootstrapper* bootstrapper_;
@@ -86,7 +86,7 @@
StubCache* stub_cache_;
v8::ImplementationUtilities::HandleScopeData handle_scope_data_;
Zone zone_;
-
+
#define GLOBAL_BACKING_STORE(type, name,
initialvalue) \
type name##_;
ISOLATE_INIT_LIST(GLOBAL_BACKING_STORE)
=======================================
--- /branches/experimental/isolates/src/zone.h Wed Jun 2 09:14:32 2010
+++ /branches/experimental/isolates/src/zone.h Thu Jun 3 09:00:45 2010
@@ -73,7 +73,7 @@
private:
friend class Isolate;
-
+
// All pointers returned from New() have this alignment.
static const int kAlignment = kPointerSize;
=======================================
--- /branches/experimental/isolates/test/cctest/test-serialize.cc Wed Jun
2 08:08:09 2010
+++ /branches/experimental/isolates/test/cctest/test-serialize.cc Thu Jun
3 09:00:45 2010
@@ -293,7 +293,6 @@
// serialization. That doesn't matter. We don't need to be able to
// serialize a snapshot in a VM that is booted from a snapshot.
if (!Snapshot::IsEnabled()) {
-
Deserialize();
v8::Persistent<v8::Context> env = v8::Context::New();
@@ -306,7 +305,6 @@
DEPENDENT_TEST(DeserializeFromSecondSerialization, SerializeTwice) {
if (!Snapshot::IsEnabled()) {
-
Deserialize();
v8::Persistent<v8::Context> env = v8::Context::New();
@@ -319,7 +317,6 @@
DEPENDENT_TEST(DeserializeAndRunScript2, Serialize) {
if (!Snapshot::IsEnabled()) {
-
Deserialize();
v8::Persistent<v8::Context> env = v8::Context::New();
@@ -337,7 +334,6 @@
DEPENDENT_TEST(DeserializeFromSecondSerializationAndRunScript2,
SerializeTwice) {
if (!Snapshot::IsEnabled()) {
-
Deserialize();
v8::Persistent<v8::Context> env = v8::Context::New();
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev