Revision: 7253
Author: [email protected]
Date: Thu Mar 17 14:14:47 2011
Log: Fix compilation on Windows post-7252
Review URL: http://codereview.chromium.org/6708014
http://code.google.com/p/v8/source/detail?r=7253
Modified:
/branches/bleeding_edge/src/code-stubs.h
/branches/bleeding_edge/src/heap.cc
=======================================
--- /branches/bleeding_edge/src/code-stubs.h Thu Mar 17 13:28:41 2011
+++ /branches/bleeding_edge/src/code-stubs.h Thu Mar 17 14:14:47 2011
@@ -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"; }
=======================================
--- /branches/bleeding_edge/src/heap.cc Thu Mar 17 13:28:41 2011
+++ /branches/bleeding_edge/src/heap.cc Thu Mar 17 14:14:47 2011
@@ -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