Reviewers: Kevin Millikin, Martin Maly,

Message:
TBR=kmillikin, mmaly

The patch by Martin, I'm landing it after building/testing on Win.


Description:
Fix compilation on Windows post-7252

Please review this at http://codereview.chromium.org/6708014/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/code-stubs.h
  M     src/heap.cc


Index: src/code-stubs.h
===================================================================
--- src/code-stubs.h    (revision 7252)
+++ src/code-stubs.h    (working copy)
@@ -682,9 +682,10 @@
   }

   int GetArgumentsObjectSize() const {
-    return (type_ == NEW_STRICT)
-        ? Heap::kArgumentsObjectSizeStrict
-        : Heap::kArgumentsObjectSize;
+    if (type_ == NEW_STRICT)
+      return Heap::kArgumentsObjectSizeStrict;
+    else
+      return Heap::kArgumentsObjectSize;
   }

   const char* GetName() { return "ArgumentsAccessStub"; }
Index: src/heap.cc
===================================================================
--- src/heap.cc (revision 7252)
+++ src/heap.cc (working copy)
@@ -138,9 +138,6 @@

 GCTracer* Heap::tracer_ = NULL;

-const int Heap::kArgumentsObjectSize;
-const int Heap::kArgumentsObjectSizeStrict;
-
 int Heap::unflattened_strings_length_ = 0;

 int Heap::always_allocate_scope_depth_ = 0;


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

Reply via email to