Skip to content

Instantly share code, notes, and snippets.

Created July 28, 2009 17:06
Show Gist options
  • Save anonymous/157541 to your computer and use it in GitHub Desktop.
Save anonymous/157541 to your computer and use it in GitHub Desktop.
diff --git a/JavaScriptCore/jsc.pro b/JavaScriptCore/jsc.pro
index a84c02e..2864f41 100644
--- a/JavaScriptCore/jsc.pro
+++ b/JavaScriptCore/jsc.pro
@@ -34,6 +34,7 @@ linux-g++* {
interpreter \
jit \
parser \
+ pcre \
profiler \
runtime \
wrec \
diff --git a/JavaScriptCore/runtime/CallData.h b/JavaScriptCore/runtime/CallData.h
index 0e15031..744d6a5 100644
--- a/JavaScriptCore/runtime/CallData.h
+++ b/JavaScriptCore/runtime/CallData.h
@@ -40,7 +40,7 @@ namespace JSC {
class JSValue;
class ScopeChainNode;
- enum JS_EXPORTDATA CallType {
+ enum CallType {
CallTypeNone,
CallTypeHost,
CallTypeJS
diff --git a/JavaScriptCore/runtime/ConstructData.h b/JavaScriptCore/runtime/ConstructData.h
index fdbb396..e5e46e7 100644
--- a/JavaScriptCore/runtime/ConstructData.h
+++ b/JavaScriptCore/runtime/ConstructData.h
@@ -38,7 +38,7 @@ namespace JSC {
class JSValue;
class ScopeChainNode;
- enum JS_EXPORTDATA ConstructType {
+ enum ConstructType {
ConstructTypeNone,
ConstructTypeHost,
ConstructTypeJS
diff --git a/JavaScriptCore/runtime/JSFunction.h b/JavaScriptCore/runtime/JSFunction.h
index b27e515..80b5a72 100644
--- a/JavaScriptCore/runtime/JSFunction.h
+++ b/JavaScriptCore/runtime/JSFunction.h
@@ -37,7 +37,7 @@ namespace JSC {
class JSActivation;
class JSGlobalObject;
- class JSFunction : public InternalFunction {
+ class JS_EXPORTDATA JSFunction : public InternalFunction {
friend class JIT;
friend class VPtrSet;
diff --git a/JavaScriptCore/wtf/unicode/UTF8.h b/JavaScriptCore/wtf/unicode/UTF8.h
index de2612a..44a80c0 100644
--- a/JavaScriptCore/wtf/unicode/UTF8.h
+++ b/JavaScriptCore/wtf/unicode/UTF8.h
@@ -41,7 +41,7 @@ namespace WTF {
// Returns -1 if the sequence is not valid (including presence of extra bytes).
JS_EXPORTDATA int decodeUTF8Sequence(const char*);
- typedef enum JS_EXPORTDATA {
+ typedef enum {
conversionOK, // conversion successful
sourceExhausted, // partial character in source, but hit end
targetExhausted, // insuff. room in target for conversion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment