Reviewers: fschneider,

Description:
Include what you use in accessors.{h,cc}.


[email protected]
BUG=
TEST=


Please review this at https://chromiumcodereview.appspot.com/9113041/

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

Affected files:
  M include/v8stdint.h
  M src/accessors.h
  M src/accessors.cc


Index: include/v8stdint.h
diff --git a/include/v8stdint.h b/include/v8stdint.h
index 50b4f29a64ff24652eece803352cb721799b6637..7c12e1f49079934488f3261bd9ab939ca3d4d85c 100644
--- a/include/v8stdint.h
+++ b/include/v8stdint.h
@@ -1,4 +1,4 @@
-// Copyright 2010 the V8 project authors. All rights reserved.
+// Copyright 2012 the V8 project authors. All rights reserved.
 // Redistribution and use in source and binary forms, with or without
 // modification, are permitted provided that the following conditions are
 // met:
@@ -30,6 +30,7 @@
 #ifndef V8STDINT_H_
 #define V8STDINT_H_

+#include <stddef.h>
 #include <stdio.h>

 #if defined(_WIN32) && !defined(__MINGW32__)
Index: src/accessors.cc
diff --git a/src/accessors.cc b/src/accessors.cc
index 448221de7b1031ed6120580bed619a1d6d3c21f2..9b16525b4c10e7607117d9be3d4c4bce1b5df11d 100644
--- a/src/accessors.cc
+++ b/src/accessors.cc
@@ -26,15 +26,16 @@
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 #include "v8.h"
-
 #include "accessors.h"
-#include "ast.h"
+
+#include "contexts.h"
 #include "deoptimizer.h"
 #include "execution.h"
 #include "factory.h"
+#include "frames-inl.h"
+#include "isolate.h"
 #include "list-inl.h"
-#include "safepoint-table.h"
-#include "scopeinfo.h"
+#include "property-details.h"

 namespace v8 {
 namespace internal {
Index: src/accessors.h
diff --git a/src/accessors.h b/src/accessors.h
index 385536d22ee16a42425f98a30c9306e1f63f9779..36b9a9984a31d2b69acaa5ea42f2c5799cdd78eb 100644
--- a/src/accessors.h
+++ b/src/accessors.h
@@ -1,4 +1,4 @@
-// Copyright 2006-2008 the V8 project authors. All rights reserved.
+// Copyright 2012 the V8 project authors. All rights reserved.
 // Redistribution and use in source and binary forms, with or without
 // modification, are permitted provided that the following conditions are
 // met:
@@ -29,6 +29,7 @@
 #define V8_ACCESSORS_H_

 #include "allocation.h"
+#include "v8globals.h"

 namespace v8 {
 namespace internal {


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

Reply via email to