Fix xcode build warning in shell.cc
authormmaly@chromium.org <mmaly@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Mar 2011 04:36:41 +0000 (04:36 +0000)
committermmaly@chromium.org <mmaly@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 30 Mar 2011 04:36:41 +0000 (04:36 +0000)
(out of order initialization).

BUG=
TEST=

Review URL: http://codereview.chromium.org/6772021

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7419 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

samples/shell.cc

index 47de84683566a8c63cb77a645c5ba8671913a6e8..0710d4643aa3a4845714f6e0259a9198ff5e81f0 100644 (file)
@@ -157,7 +157,7 @@ class SourceGroup {
   class IsolateThread : public v8::internal::Thread {
    public:
     explicit IsolateThread(SourceGroup* group)
-        : group_(group), v8::internal::Thread(NULL, GetThreadOptions()) {}
+        : v8::internal::Thread(NULL, GetThreadOptions()), group_(group) {}
 
     virtual void Run() {
       group_->ExecuteInThread();