#include "src/accessors.h"
#include "src/api.h"
-#include "src/compiler.h"
#include "src/contexts.h"
#include "src/deoptimizer.h"
#include "src/execution.h"
#ifndef V8_DATAFLOW_H_
#define V8_DATAFLOW_H_
-#include "src/v8.h"
-
#include "src/allocation.h"
-#include "src/ast.h"
-#include "src/compiler.h"
+#include "src/zone.h"
namespace v8 {
namespace internal {
#include "src/compiler/js-context-specialization.h"
-#include "src/compiler.h"
#include "src/compiler/common-operator.h"
#include "src/compiler/js-operator.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/js-graph.h"
#include "src/contexts.h"
-#include "src/compiler.h"
-
namespace v8 {
namespace internal {
namespace compiler {
#include "src/compiler/frame.h"
#include "src/compiler/machine-type.h"
#include "src/compiler/operator.h"
+#include "src/frames.h"
+#include "src/runtime/runtime.h"
#include "src/zone.h"
namespace v8 {
#include <iosfwd>
-#include "src/compiler.h"
#include "src/hydrogen.h"
#include "src/hydrogen-instructions.h"
#include "src/zone.h"
#include <deque>
+#include "src/assembler.h"
#include "src/isolate.h"
#include "src/serialize.h"
#include "src/base/platform/platform.h"
#include "src/bootstrapper.h"
#include "src/code-stubs.h"
+#include "src/compiler.h"
#include "src/deoptimizer.h"
#include "src/execution.h"
#include "src/global-handles.h"
return Vector<const uint32_t>(reinterpret_cast<const uint32_t*>(start),
GetHeaderValue(kNumCodeStubKeysOffset));
}
+
+
+SerializedCodeData::SerializedCodeData(ScriptData* data)
+ : SerializedData(const_cast<byte*>(data->data()), data->length()) {}
+
+
+SerializedCodeData* SerializedCodeData::FromCachedData(ScriptData* cached_data,
+ String* source) {
+ DisallowHeapAllocation no_gc;
+ SerializedCodeData* scd = new SerializedCodeData(cached_data);
+ if (scd->IsSane(source)) return scd;
+ cached_data->Reject();
+ delete scd;
+ return NULL;
+}
} } // namespace v8::internal
#ifndef V8_SERIALIZE_H_
#define V8_SERIALIZE_H_
-#include "src/compiler.h"
#include "src/hashmap.h"
#include "src/heap-profiler.h"
#include "src/isolate.h"
namespace v8 {
namespace internal {
+class ScriptData;
+
// A TypeCode is used to distinguish different kinds of external reference.
// It is a single bit to make testing for types easy.
enum TypeCode {
public:
// Used when consuming.
static SerializedCodeData* FromCachedData(ScriptData* cached_data,
- String* source) {
- DisallowHeapAllocation no_gc;
- SerializedCodeData* scd = new SerializedCodeData(cached_data);
- if (scd->IsSane(source)) return scd;
- cached_data->Reject();
- delete scd;
- return NULL;
- }
+ String* source);
// Used when producing.
SerializedCodeData(const List<byte>& payload, const CodeSerializer& cs);
Vector<const uint32_t> CodeStubKeys() const;
private:
- explicit SerializedCodeData(ScriptData* data)
- : SerializedData(const_cast<byte*>(data->data()), data->length()) {}
+ explicit SerializedCodeData(ScriptData* data);
bool IsSane(String* source) const;
#include "src/allocation.h"
#include "src/ast.h"
-#include "src/compiler.h"
#include "src/effects.h"
#include "src/scopes.h"
#include "src/type-info.h"
#include <deque>
+#include "src/assembler.h"
#include "src/serialize.h"
namespace v8 {
#ifndef V8_X87_ASSEMBLER_X87_H_
#define V8_X87_ASSEMBLER_X87_H_
+#include "src/assembler.h"
#include "src/isolate.h"
#include "src/serialize.h"