summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp')
-rw-r--r--Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp19
1 files changed, 8 insertions, 11 deletions
diff --git a/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp b/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
index 2b4e61986..a0cbfa0ba 100644
--- a/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
+++ b/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012, 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -27,38 +27,31 @@
#include "ArrayProfile.h"
#include "CodeBlock.h"
-#include "CommonSlowPaths.h"
#include "Debugger.h"
-#include "DirectArguments.h"
-#include "Exception.h"
#include "Executable.h"
#include "Heap.h"
#include "Interpreter.h"
+#include "JITStubs.h"
#include "JSArray.h"
#include "JSCell.h"
#include "JSFunction.h"
#include "VM.h"
-#include "JSEnvironmentRecord.h"
#include "JSGlobalObject.h"
-#include "JSModuleRecord.h"
#include "JSObject.h"
+#include "JSPropertyNameIterator.h"
#include "JSStack.h"
#include "JSString.h"
#include "JSTypeInfo.h"
+#include "JSVariableObject.h"
#include "JumpTable.h"
#include "LLIntOfflineAsmConfig.h"
#include "MarkedSpace.h"
#include "ProtoCallFrame.h"
#include "Structure.h"
#include "StructureChain.h"
-#include "TypeProfiler.h"
-#include "TypeProfilerLog.h"
-#include "VMEntryRecord.h"
#include "ValueProfile.h"
-#include "Watchdog.h"
#include <wtf/text/StringImpl.h>
-
namespace JSC {
#define OFFLINE_ASM_OFFSETOF(clazz, field) (static_cast<unsigned>(OBJECT_OFFSETOF(clazz, field)))
@@ -70,6 +63,7 @@ public:
const unsigned* LLIntOffsetsExtractor::dummy()
{
+#if ENABLE(LLINT)
// This is a file generated by offlineasm/generate_offsets_extractor.rb, and contains code
// to create a table of offsets, sizes, and a header identifying what combination of
// Platform.h macros we have set. We include it inside of a method on LLIntOffsetsExtractor
@@ -78,6 +72,9 @@ const unsigned* LLIntOffsetsExtractor::dummy()
// compiler to kindly step aside and yield to our best intentions.
#include "LLIntDesiredOffsets.h"
return extractorTable;
+#else
+ return 0;
+#endif
}
} // namespace JSC