Commit aa9e9ffe authored by cwzwarich@webkit.org's avatar cwzwarich@webkit.org
Browse files

2008-11-02 Cameron Zwarich <zwarich@apple.com>

        Reviewed by Oliver Hunt.

        Bug 22035: Remove the '_' suffix on constructor parameter names for structs
        <https://bugs.webkit.org/show_bug.cgi?id=22035>

        * API/JSCallbackObject.h:
        (JSC::JSCallbackObject::JSCallbackObjectData::JSCallbackObjectData):
        * VM/CodeBlock.h:
        (JSC::CodeBlock::CodeBlock):
        (JSC::ProgramCodeBlock::ProgramCodeBlock):
        (JSC::EvalCodeBlock::EvalCodeBlock):
        * wrec/WREC.h:
        (JSC::Quantifier::Quantifier):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a796cc07
......@@ -88,9 +88,9 @@ private:
static JSValue* callbackGetter(ExecState*, const Identifier&, const PropertySlot&);
struct JSCallbackObjectData {
JSCallbackObjectData(void* privateData_, JSClassRef jsClass_)
: privateData(privateData_)
, jsClass(jsClass_)
JSCallbackObjectData(void* privateData, JSClassRef jsClass)
: privateData(privateData)
, jsClass(jsClass)
{
JSClassRetain(jsClass);
}
......
2008-11-02 Cameron Zwarich <zwarich@apple.com>
Reviewed by Oliver Hunt.
Bug 22035: Remove the '_' suffix on constructor parameter names for structs
<https://bugs.webkit.org/show_bug.cgi?id=22035>
* API/JSCallbackObject.h:
(JSC::JSCallbackObject::JSCallbackObjectData::JSCallbackObjectData):
* VM/CodeBlock.h:
(JSC::CodeBlock::CodeBlock):
(JSC::ProgramCodeBlock::ProgramCodeBlock):
(JSC::EvalCodeBlock::EvalCodeBlock):
* wrec/WREC.h:
(JSC::Quantifier::Quantifier):
2008-10-31 Cameron Zwarich <zwarich@apple.com>
 
Rubber-stamped by Geoff Garen.
......
......@@ -245,8 +245,8 @@ namespace JSC {
};
struct CodeBlock {
CodeBlock(ScopeNode* ownerNode_, CodeType codeType_, PassRefPtr<SourceProvider> source_, unsigned sourceOffset_)
: ownerNode(ownerNode_)
CodeBlock(ScopeNode* ownerNode, CodeType codeType, PassRefPtr<SourceProvider> source, unsigned sourceOffset)
: ownerNode(ownerNode)
, globalData(0)
#if ENABLE(CTI)
, ctiCode(0)
......@@ -255,11 +255,11 @@ namespace JSC {
, numConstants(0)
, numVars(0)
, numParameters(0)
, needsFullScopeChain(ownerNode_->needsActivation())
, usesEval(ownerNode_->usesEval())
, codeType(codeType_)
, source(source_)
, sourceOffset(sourceOffset_)
, needsFullScopeChain(ownerNode->needsActivation())
, usesEval(ownerNode->usesEval())
, codeType(codeType)
, source(source)
, sourceOffset(sourceOffset)
{
ASSERT(source);
}
......@@ -371,9 +371,9 @@ namespace JSC {
// responsible for marking it.
struct ProgramCodeBlock : public CodeBlock {
ProgramCodeBlock(ScopeNode* ownerNode_, CodeType codeType_, JSGlobalObject* globalObject_, PassRefPtr<SourceProvider> source_)
: CodeBlock(ownerNode_, codeType_, source_, 0)
, globalObject(globalObject_)
ProgramCodeBlock(ScopeNode* ownerNode, CodeType codeType, JSGlobalObject* globalObject, PassRefPtr<SourceProvider> source)
: CodeBlock(ownerNode, codeType, source, 0)
, globalObject(globalObject)
{
globalObject->codeBlocks().add(this);
}
......@@ -388,8 +388,8 @@ namespace JSC {
};
struct EvalCodeBlock : public ProgramCodeBlock {
EvalCodeBlock(ScopeNode* ownerNode_, JSGlobalObject* globalObject_, PassRefPtr<SourceProvider> source_)
: ProgramCodeBlock(ownerNode_, EvalCode, globalObject_, source_)
EvalCodeBlock(ScopeNode* ownerNode, JSGlobalObject* globalObject, PassRefPtr<SourceProvider> source)
: ProgramCodeBlock(ownerNode, EvalCode, globalObject, source)
{
}
};
......
......@@ -60,10 +60,10 @@ namespace JSC {
{
}
Quantifier(Type type_, unsigned min_ = 0, unsigned max_ = noMaxSpecified)
: type(type_)
, min(min_)
, max(max_)
Quantifier(Type type, unsigned min = 0, unsigned max = noMaxSpecified)
: type(type)
, min(min)
, max(max)
{
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment