source: webkit/trunk/JavaScriptCore/bytecode/CodeBlock.h@ 39284

Last change on this file since 39284 was 39284, checked in by [email protected], 16 years ago

2008-12-13 Gavin Barraclough <[email protected]>

Reviewed by Cameron Zwarich.

Port the remainder of the JIT, bar calling convention related code, and code
implementing optimizations which can be disabled, to use the MacroAssembler.

  • assembler/MacroAssembler.h: (JSC::MacroAssembler::DataLabelPtr::DataLabelPtr): (JSC::MacroAssembler::RepatchBuffer::RepatchBuffer): (JSC::MacroAssembler::RepatchBuffer::link): (JSC::MacroAssembler::RepatchBuffer::addressOf): (JSC::MacroAssembler::RepatchBuffer::setPtr): (JSC::MacroAssembler::addPtr): (JSC::MacroAssembler::lshift32): (JSC::MacroAssembler::mod32): (JSC::MacroAssembler::rshift32): (JSC::MacroAssembler::storePtrWithRepatch): (JSC::MacroAssembler::jnzPtr): (JSC::MacroAssembler::jzPtr): (JSC::MacroAssembler::jump): (JSC::MacroAssembler::label):
  • assembler/X86Assembler.h: (JSC::X86Assembler::): (JSC::X86Assembler::xchgl_rr): (JSC::X86Assembler::jmp_m): (JSC::X86Assembler::repatchAddress): (JSC::X86Assembler::getRelocatedAddress):
  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::CodeBlock):
  • bytecode/CodeBlock.h: (JSC::JITCodeRef::JITCodeRef): (JSC::CodeBlock::setJITCode): (JSC::CodeBlock::jitCode): (JSC::CodeBlock::executablePool):
  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileLinkPass): (JSC::JIT::privateCompile): (JSC::JIT::privateCompileCTIMachineTrampolines):
  • jit/JIT.h: (JSC::CallRecord::CallRecord): (JSC::JumpTable::JumpTable): (JSC::JIT::emitCTICall): (JSC::JIT::JSRInfo::JSRInfo):
  • jit/JITArithmetic.cpp:
  • jit/JITCall.cpp:
  • jit/JITInlineMethods.h: (JSC::JIT::emitNakedCall): (JSC::JIT::emitCTICall_internal): (JSC::JIT::checkStructure): (JSC::JIT::emitFastArithDeTagImmediateJumpIfZero): (JSC::JIT::addSlowCase): (JSC::JIT::addJump): (JSC::JIT::emitJumpSlowToHot):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain):
File size: 19.7 KB
Line 
1/*
2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Cameron Zwarich <[email protected]>
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
15 * its contributors may be used to endorse or promote products derived
16 * from this software without specific prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
19 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#ifndef CodeBlock_h
31#define CodeBlock_h
32
33#include "EvalCodeCache.h"
34#include "Instruction.h"
35#include "JSGlobalObject.h"
36#include "JumpTable.h"
37#include "Nodes.h"
38#include "RegExp.h"
39#include "UString.h"
40#include <wtf/RefPtr.h>
41#include <wtf/Vector.h>
42
43#if ENABLE(JIT)
44#include "StructureStubInfo.h"
45#endif
46
47namespace JSC {
48
49 class ExecState;
50
51 enum CodeType { GlobalCode, EvalCode, FunctionCode };
52
53 static ALWAYS_INLINE int missingThisObjectMarker() { return std::numeric_limits<int>::max(); }
54
55 struct HandlerInfo {
56 uint32_t start;
57 uint32_t end;
58 uint32_t target;
59 uint32_t scopeDepth;
60#if ENABLE(JIT)
61 void* nativeCode;
62#endif
63 };
64
65 // The code, and the associated pool from which it was allocated.
66 struct JITCodeRef {
67 void* code;
68 RefPtr<ExecutablePool> executablePool;
69
70 JITCodeRef()
71 : code(0)
72 {
73 }
74
75 JITCodeRef(void* code, PassRefPtr<ExecutablePool> executablePool)
76 : code(code)
77 , executablePool(executablePool)
78 {
79 }
80 };
81
82 struct ExpressionRangeInfo {
83 enum {
84 MaxOffset = (1 << 7) - 1,
85 MaxDivot = (1 << 25) - 1
86 };
87 uint32_t instructionOffset : 25;
88 uint32_t divotPoint : 25;
89 uint32_t startOffset : 7;
90 uint32_t endOffset : 7;
91 };
92
93 struct LineInfo {
94 uint32_t instructionOffset;
95 int32_t lineNumber;
96 };
97
98 // Both op_construct and op_instanceof require a use of op_get_by_id to get
99 // the prototype property from an object. The exception messages for exceptions
100 // thrown by these instances op_get_by_id need to reflect this.
101 struct GetByIdExceptionInfo {
102 unsigned bytecodeOffset : 31;
103 bool isOpConstruct : 1;
104 };
105
106#if ENABLE(JIT)
107 struct CallLinkInfo {
108 CallLinkInfo()
109 : callReturnLocation(0)
110 , hotPathBegin(0)
111 , hotPathOther(0)
112 , coldPathOther(0)
113 , callee(0)
114 {
115 }
116
117 unsigned bytecodeIndex;
118 void* callReturnLocation;
119 void* hotPathBegin;
120 void* hotPathOther;
121 void* coldPathOther;
122 CodeBlock* callee;
123 unsigned position;
124
125 void setUnlinked() { callee = 0; }
126 bool isLinked() { return callee; }
127 };
128
129 struct GlobalResolveInfo {
130 GlobalResolveInfo()
131 : structure(0)
132 , offset(0)
133 {
134 }
135
136 Structure* structure;
137 unsigned offset;
138 };
139
140 struct PC {
141 PC(void* nativePC, unsigned bytecodeIndex)
142 : nativePC(nativePC)
143 , bytecodeIndex(bytecodeIndex)
144 {
145 }
146
147 void* nativePC;
148 unsigned bytecodeIndex;
149 };
150
151 // valueAtPosition helpers for the binaryChop algorithm below.
152
153 inline void* getStructureStubInfoReturnLocation(StructureStubInfo* structureStubInfo)
154 {
155 return structureStubInfo->callReturnLocation;
156 }
157
158 inline void* getCallLinkInfoReturnLocation(CallLinkInfo* callLinkInfo)
159 {
160 return callLinkInfo->callReturnLocation;
161 }
162
163 inline void* getNativePC(PC* pc)
164 {
165 return pc->nativePC;
166 }
167
168 // Binary chop algorithm, calls valueAtPosition on pre-sorted elements in array,
169 // compares result with key (KeyTypes should be comparable with '--', '<', '>').
170 // Optimized for cases where the array contains the key, checked by assertions.
171 template<typename ArrayType, typename KeyType, KeyType(*valueAtPosition)(ArrayType*)>
172 inline ArrayType* binaryChop(ArrayType* array, size_t size, KeyType key)
173 {
174 // The array must contain at least one element (pre-condition, array does conatin key).
175 // If the array only contains one element, no need to do the comparison.
176 while (size > 1) {
177 // Pick an element to check, half way through the array, and read the value.
178 int pos = (size - 1) >> 1;
179 KeyType val = valueAtPosition(&array[pos]);
180
181 // If the key matches, success!
182 if (val == key)
183 return &array[pos];
184 // The item we are looking for is smaller than the item being check; reduce the value of 'size',
185 // chopping off the right hand half of the array.
186 else if (key < val)
187 size = pos;
188 // Discard all values in the left hand half of the array, up to and including the item at pos.
189 else {
190 size -= (pos + 1);
191 array += (pos + 1);
192 }
193
194 // 'size' should never reach zero.
195 ASSERT(size);
196 }
197
198 // If we reach this point we've chopped down to one element, no need to check it matches
199 ASSERT(size == 1);
200 ASSERT(key == valueAtPosition(&array[0]));
201 return &array[0];
202 }
203#endif
204
205 class CodeBlock {
206 friend class JIT;
207 public:
208 CodeBlock(ScopeNode* ownerNode, CodeType, PassRefPtr<SourceProvider>, unsigned sourceOffset);
209 ~CodeBlock();
210
211 void mark();
212 void refStructures(Instruction* vPC) const;
213 void derefStructures(Instruction* vPC) const;
214#if ENABLE(JIT)
215 void unlinkCallers();
216#endif
217
218 static void dumpStatistics();
219
220#if !defined(NDEBUG) || ENABLE_OPCODE_SAMPLING
221 void dump(ExecState*) const;
222 void printStructures(const Instruction*) const;
223 void printStructure(const char* name, const Instruction*, int operand) const;
224#endif
225
226 inline bool isKnownNotImmediate(int index)
227 {
228 if (index == m_thisRegister)
229 return true;
230
231 if (isConstantRegisterIndex(index))
232 return !JSImmediate::isImmediate(getConstant(index));
233
234 return false;
235 }
236
237 ALWAYS_INLINE bool isConstantRegisterIndex(int index)
238 {
239 return index >= m_numVars && index < m_numVars + m_numConstants;
240 }
241
242 ALWAYS_INLINE JSValue* getConstant(int index)
243 {
244 return m_constantRegisters[index - m_numVars].getJSValue();
245 }
246
247 ALWAYS_INLINE bool isTemporaryRegisterIndex(int index)
248 {
249 return index >= m_numVars + m_numConstants;
250 }
251
252 HandlerInfo* handlerForBytecodeOffset(unsigned bytecodeOffset);
253 int lineNumberForBytecodeOffset(unsigned bytecodeOffset);
254 int expressionRangeForBytecodeOffset(unsigned bytecodeOffset, int& divot, int& startOffset, int& endOffset);
255 bool getByIdExceptionInfoForBytecodeOffset(unsigned bytecodeOffset, OpcodeID&);
256
257#if ENABLE(JIT)
258 void addCaller(CallLinkInfo* caller)
259 {
260 caller->callee = this;
261 caller->position = m_linkedCallerList.size();
262 m_linkedCallerList.append(caller);
263 }
264
265 void removeCaller(CallLinkInfo* caller)
266 {
267 unsigned pos = caller->position;
268 unsigned lastPos = m_linkedCallerList.size() - 1;
269
270 if (pos != lastPos) {
271 m_linkedCallerList[pos] = m_linkedCallerList[lastPos];
272 m_linkedCallerList[pos]->position = pos;
273 }
274 m_linkedCallerList.shrink(lastPos);
275 }
276
277 StructureStubInfo& getStubInfo(void* returnAddress)
278 {
279 return *(binaryChop<StructureStubInfo, void*, getStructureStubInfoReturnLocation>(m_structureStubInfos.begin(), m_structureStubInfos.size(), returnAddress));
280 }
281
282 CallLinkInfo& getCallLinkInfo(void* returnAddress)
283 {
284 return *(binaryChop<CallLinkInfo, void*, getCallLinkInfoReturnLocation>(m_callLinkInfos.begin(), m_callLinkInfos.size(), returnAddress));
285 }
286
287 unsigned getBytecodeIndex(void* nativePC)
288 {
289 return binaryChop<PC, void*, getNativePC>(m_pcVector.begin(), m_pcVector.size(), nativePC)->bytecodeIndex;
290 }
291#endif
292
293 Vector<Instruction>& instructions() { return m_instructions; }
294
295#if ENABLE(JIT)
296 void setJITCode(JITCodeRef& jitCode) { m_jitCode = jitCode; }
297 void* jitCode() { return m_jitCode.code; }
298 ExecutablePool* executablePool() { return m_jitCode.executablePool.get(); }
299#endif
300
301 ScopeNode* ownerNode() const { return m_ownerNode; }
302
303 void setGlobalData(JSGlobalData* globalData) { m_globalData = globalData; }
304
305 void setThisRegister(int thisRegister) { m_thisRegister = thisRegister; }
306 int thisRegister() const { return m_thisRegister; }
307
308 void setNeedsFullScopeChain(bool needsFullScopeChain) { m_needsFullScopeChain = needsFullScopeChain; }
309 bool needsFullScopeChain() const { return m_needsFullScopeChain; }
310 void setUsesEval(bool usesEval) { m_usesEval = usesEval; }
311 bool usesEval() const { return m_usesEval; }
312 void setUsesArguments(bool usesArguments) { m_usesArguments = usesArguments; }
313 bool usesArguments() const { return m_usesArguments; }
314
315 CodeType codeType() const { return m_codeType; }
316
317 SourceProvider* source() const { return m_source.get(); }
318 unsigned sourceOffset() const { return m_sourceOffset; }
319
320 size_t numberOfJumpTargets() const { return m_jumpTargets.size(); }
321 void addJumpTarget(unsigned jumpTarget) { m_jumpTargets.append(jumpTarget); }
322 unsigned jumpTarget(int index) const { return m_jumpTargets[index]; }
323 unsigned lastJumpTarget() const { return m_jumpTargets.last(); }
324
325 size_t numberOfExceptionHandlers() const { return m_rareData ? m_rareData->m_exceptionHandlers.size() : 0; }
326 void addExceptionHandler(const HandlerInfo& hanler) { createRareDataIfNecessary(); return m_rareData->m_exceptionHandlers.append(hanler); }
327 HandlerInfo& exceptionHandler(int index) { ASSERT(m_rareData); return m_rareData->m_exceptionHandlers[index]; }
328
329 void addExpressionInfo(const ExpressionRangeInfo& expressionInfo) { return m_expressionInfo.append(expressionInfo); }
330 void addGetByIdExceptionInfo(const GetByIdExceptionInfo& info) { m_getByIdExceptionInfo.append(info); }
331
332 size_t numberOfLineInfos() const { return m_lineInfo.size(); }
333 void addLineInfo(const LineInfo& lineInfo) { return m_lineInfo.append(lineInfo); }
334 LineInfo& lastLineInfo() { return m_lineInfo.last(); }
335
336#if !ENABLE(JIT)
337 void addPropertyAccessInstruction(unsigned propertyAccessInstruction) { m_propertyAccessInstructions.append(propertyAccessInstruction); }
338 void addGlobalResolveInstruction(unsigned globalResolveInstructions) { m_globalResolveInstructions.append(globalResolveInstructions); }
339#else
340 size_t numberOfStructureStubInfos() const { return m_structureStubInfos.size(); }
341 void addStructureStubInfo(const StructureStubInfo& stubInfo) { m_structureStubInfos.append(stubInfo); }
342 StructureStubInfo& structureStubInfo(int index) { return m_structureStubInfos[index]; }
343
344 void addGlobalResolveInfo() { m_globalResolveInfos.append(GlobalResolveInfo()); }
345 GlobalResolveInfo& globalResolveInfo(int index) { return m_globalResolveInfos[index]; }
346
347 size_t numberOfCallLinkInfos() const { return m_callLinkInfos.size(); }
348 void addCallLinkInfo() { m_callLinkInfos.append(CallLinkInfo()); }
349 CallLinkInfo& callLinkInfo(int index) { return m_callLinkInfos[index]; }
350
351 Vector<PC>& pcVector() { return m_pcVector; }
352#endif
353
354 // Constant Pool
355
356 size_t numberOfIdentifiers() const { return m_identifiers.size(); }
357 void addIdentifier(const Identifier& i) { return m_identifiers.append(i); }
358 Identifier& identifier(int index) { return m_identifiers[index]; }
359
360 size_t numberOfConstantRegisters() const { return m_constantRegisters.size(); }
361 void addConstantRegister(const Register& r) { return m_constantRegisters.append(r); }
362 Register& constantRegister(int index) { return m_constantRegisters[index]; }
363
364 unsigned addFunctionExpression(FuncExprNode* n) { unsigned size = m_functionExpressions.size(); m_functionExpressions.append(n); return size; }
365 FuncExprNode* functionExpression(int index) const { return m_functionExpressions[index].get(); }
366
367 unsigned addFunction(FuncDeclNode* n) { createRareDataIfNecessary(); unsigned size = m_rareData->m_functions.size(); m_rareData->m_functions.append(n); return size; }
368 FuncDeclNode* function(int index) const { ASSERT(m_rareData); return m_rareData->m_functions[index].get(); }
369
370 unsigned addUnexpectedConstant(JSValue* v) { createRareDataIfNecessary(); unsigned size = m_rareData->m_unexpectedConstants.size(); m_rareData->m_unexpectedConstants.append(v); return size; }
371 JSValue* unexpectedConstant(int index) const { ASSERT(m_rareData); return m_rareData->m_unexpectedConstants[index]; }
372
373 unsigned addRegExp(RegExp* r) { createRareDataIfNecessary(); unsigned size = m_rareData->m_regexps.size(); m_rareData->m_regexps.append(r); return size; }
374 RegExp* regexp(int index) const { ASSERT(m_rareData); return m_rareData->m_regexps[index].get(); }
375
376
377 // Jump Tables
378
379 size_t numberOfImmediateSwitchJumpTables() const { return m_rareData ? m_rareData->m_immediateSwitchJumpTables.size() : 0; }
380 SimpleJumpTable& addImmediateSwitchJumpTable() { createRareDataIfNecessary(); m_rareData->m_immediateSwitchJumpTables.append(SimpleJumpTable()); return m_rareData->m_immediateSwitchJumpTables.last(); }
381 SimpleJumpTable& immediateSwitchJumpTable(int tableIndex) { ASSERT(m_rareData); return m_rareData->m_immediateSwitchJumpTables[tableIndex]; }
382
383 size_t numberOfCharacterSwitchJumpTables() const { return m_rareData ? m_rareData->m_characterSwitchJumpTables.size() : 0; }
384 SimpleJumpTable& addCharacterSwitchJumpTable() { createRareDataIfNecessary(); m_rareData->m_characterSwitchJumpTables.append(SimpleJumpTable()); return m_rareData->m_characterSwitchJumpTables.last(); }
385 SimpleJumpTable& characterSwitchJumpTable(int tableIndex) { ASSERT(m_rareData); return m_rareData->m_characterSwitchJumpTables[tableIndex]; }
386
387 size_t numberOfStringSwitchJumpTables() const { return m_rareData ? m_rareData->m_stringSwitchJumpTables.size() : 0; }
388 StringJumpTable& addStringSwitchJumpTable() { createRareDataIfNecessary(); m_rareData->m_stringSwitchJumpTables.append(StringJumpTable()); return m_rareData->m_stringSwitchJumpTables.last(); }
389 StringJumpTable& stringSwitchJumpTable(int tableIndex) { ASSERT(m_rareData); return m_rareData->m_stringSwitchJumpTables[tableIndex]; }
390
391
392 SymbolTable& symbolTable() { return m_symbolTable; }
393
394 EvalCodeCache& evalCodeCache() { createRareDataIfNecessary(); return m_rareData->m_evalCodeCache; }
395
396 void shrinkToFit();
397
398 // FIXME: Make these remaining members private.
399
400 int m_numCalleeRegisters;
401 // NOTE: numConstants holds the number of constant registers allocated
402 // by the code generator, not the number of constant registers used.
403 // (Duplicate constants are uniqued during code generation, and spare
404 // constant registers may be allocated.)
405 int m_numConstants;
406 int m_numVars;
407 int m_numParameters;
408
409 private:
410#if !defined(NDEBUG) || ENABLE(OPCODE_SAMPLING)
411 void dump(ExecState*, const Vector<Instruction>::const_iterator& begin, Vector<Instruction>::const_iterator&) const;
412#endif
413
414 void createRareDataIfNecessary()
415 {
416 if (!m_rareData)
417 m_rareData.set(new RareData);
418 }
419
420
421 ScopeNode* m_ownerNode;
422 JSGlobalData* m_globalData;
423
424 Vector<Instruction> m_instructions;
425#if ENABLE(JIT)
426 JITCodeRef m_jitCode;
427#endif
428
429 int m_thisRegister;
430
431 bool m_needsFullScopeChain;
432 bool m_usesEval;
433 bool m_usesArguments;
434
435 CodeType m_codeType;
436
437 RefPtr<SourceProvider> m_source;
438 unsigned m_sourceOffset;
439
440#if !ENABLE(JIT)
441 Vector<unsigned> m_propertyAccessInstructions;
442 Vector<unsigned> m_globalResolveInstructions;
443#else
444 Vector<StructureStubInfo> m_structureStubInfos;
445 Vector<GlobalResolveInfo> m_globalResolveInfos;
446 Vector<CallLinkInfo> m_callLinkInfos;
447 Vector<CallLinkInfo*> m_linkedCallerList;
448#endif
449
450 Vector<unsigned> m_jumpTargets;
451
452 Vector<ExpressionRangeInfo> m_expressionInfo;
453 Vector<LineInfo> m_lineInfo;
454 Vector<GetByIdExceptionInfo> m_getByIdExceptionInfo;
455
456#if ENABLE(JIT)
457 Vector<PC> m_pcVector;
458#endif
459
460 // Constant Pool
461 Vector<Identifier> m_identifiers;
462 Vector<Register> m_constantRegisters;
463 Vector<RefPtr<FuncExprNode> > m_functionExpressions;
464
465 SymbolTable m_symbolTable;
466
467 struct RareData {
468 Vector<HandlerInfo> m_exceptionHandlers;
469
470 // Rare Constants
471 Vector<RefPtr<FuncDeclNode> > m_functions;
472 Vector<JSValue*> m_unexpectedConstants;
473 Vector<RefPtr<RegExp> > m_regexps;
474
475 // Jump Tables
476 Vector<SimpleJumpTable> m_immediateSwitchJumpTables;
477 Vector<SimpleJumpTable> m_characterSwitchJumpTables;
478 Vector<StringJumpTable> m_stringSwitchJumpTables;
479
480 EvalCodeCache m_evalCodeCache;
481 };
482
483 OwnPtr<RareData> m_rareData;
484 };
485
486 // Program code is not marked by any function, so we make the global object
487 // responsible for marking it.
488
489 class ProgramCodeBlock : public CodeBlock {
490 public:
491 ProgramCodeBlock(ScopeNode* ownerNode, CodeType codeType, JSGlobalObject* globalObject, PassRefPtr<SourceProvider> sourceProvider)
492 : CodeBlock(ownerNode, codeType, sourceProvider, 0)
493 , m_globalObject(globalObject)
494 {
495 m_globalObject->codeBlocks().add(this);
496 }
497
498 ~ProgramCodeBlock()
499 {
500 if (m_globalObject)
501 m_globalObject->codeBlocks().remove(this);
502 }
503
504 void clearGlobalObject() { m_globalObject = 0; }
505
506 private:
507 JSGlobalObject* m_globalObject; // For program and eval nodes, the global object that marks the constant pool.
508 };
509
510 class EvalCodeBlock : public ProgramCodeBlock {
511 public:
512 EvalCodeBlock(ScopeNode* ownerNode, JSGlobalObject* globalObject, PassRefPtr<SourceProvider> sourceProvider)
513 : ProgramCodeBlock(ownerNode, EvalCode, globalObject, sourceProvider)
514 {
515 }
516 };
517
518} // namespace JSC
519
520#endif // CodeBlock_h
Note: See TracBrowser for help on using the repository browser.