From 4c01d0526ba4dd8cff0c0ff22a6f0ab5eb973064 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 29 Nov 2012 12:18:48 +0100 Subject: Imported WebKit commit c60cfe0fc09efd257aa0111d7b133b02deb8a63e (http://svn.webkit.org/repository/webkit/trunk@136119) New snapshot that includes the fix for installing the QtWebProcess into libexec Change-Id: I01344e079cbdac5678c4cba6ffcc05f4597cf0d7 Reviewed-by: Simon Hausmann --- .../JavaScriptCore/parser/SourceProviderCacheItem.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'Source/JavaScriptCore/parser/SourceProviderCacheItem.h') diff --git a/Source/JavaScriptCore/parser/SourceProviderCacheItem.h b/Source/JavaScriptCore/parser/SourceProviderCacheItem.h index 9ca121e2a..ec3890560 100644 --- a/Source/JavaScriptCore/parser/SourceProviderCacheItem.h +++ b/Source/JavaScriptCore/parser/SourceProviderCacheItem.h @@ -35,8 +35,9 @@ namespace JSC { class SourceProviderCacheItem { WTF_MAKE_FAST_ALLOCATED; public: - SourceProviderCacheItem(int closeBraceLine, int closeBracePos) - : closeBraceLine(closeBraceLine) + SourceProviderCacheItem(unsigned functionStart, unsigned closeBraceLine, unsigned closeBracePos) + : functionStart(functionStart) + , closeBraceLine(closeBraceLine) , closeBracePos(closeBracePos) { } @@ -59,12 +60,16 @@ public: token.m_location.line = closeBraceLine; return token; } + + unsigned functionStart : 31; + bool needsFullActivation : 1; - int closeBraceLine; - int closeBracePos; - bool usesEval; - bool strictMode; - bool needsFullActivation; + unsigned closeBraceLine : 31; + bool usesEval : 1; + + unsigned closeBracePos : 31; + bool strictMode : 1; + Vector > usedVariables; Vector > writtenVariables; }; -- cgit v1.2.1