Revision: 11419
Author:   [email protected]
Date:     Mon Apr 23 09:42:34 2012
Log:      Fix compile failure on Mac in r11417.

[email protected]

Review URL: https://chromiumcodereview.appspot.com/10187003
http://code.google.com/p/v8/source/detail?r=11419

Modified:
 /branches/bleeding_edge/src/isolate.cc

=======================================
--- /branches/bleeding_edge/src/isolate.cc      Mon Apr 23 08:09:59 2012
+++ /branches/bleeding_edge/src/isolate.cc      Mon Apr 23 09:42:34 2012
@@ -1857,12 +1857,12 @@
     LOG(this, LogCompiledFunctions());
   }

-  CHECK_EQ(OFFSET_OF(Isolate, state_),
-           static_cast<intptr_t>(Internals::kIsolateStateOffset));
-  CHECK_EQ(OFFSET_OF(Isolate, embedder_data_),
-           static_cast<intptr_t>(Internals::kIsolateEmbedderDataOffset));
-  CHECK_EQ(OFFSET_OF(Isolate, heap_.roots_),
-           static_cast<intptr_t>(Internals::kIsolateRootsOffset));
+  CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, state_)),
+           Internals::kIsolateStateOffset);
+  CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, embedder_data_)),
+           Internals::kIsolateEmbedderDataOffset);
+  CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)),
+           Internals::kIsolateRootsOffset);

   state_ = INITIALIZED;
   time_millis_at_init_ = OS::TimeCurrentMillis();

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

Reply via email to