https://bugs.webkit.org/show_bug.cgi?id=150773
Reviewed by Mark Lam.
Renaming op_put_getter_setter to op_put_getter_setter_by_id makes this op name consistent with
the other ops' names like op_put_getter_by_id etc.
* bytecode/BytecodeList.json:
* bytecode/BytecodeUseDef.h:
(JSC::computeUsesForBytecodeOffset):
(JSC::computeDefsForBytecodeOffset):
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dumpBytecode):
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitPutGetterSetter):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGCapabilities.cpp:
(JSC::DFG::capabilityLevel):
* jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
* jit/JIT.h:
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emit_op_put_getter_setter_by_id):
(JSC::JIT::emit_op_put_getter_setter): Deleted.
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emit_op_put_getter_setter_by_id):
(JSC::JIT::emit_op_put_getter_setter): Deleted.
* llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
* llint/LLIntSlowPaths.h:
* llint/LowLevelInterpreter.asm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191858
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-11-01 Yusuke Suzuki <utatane.tea@gmail.com>
+
+ Rename op_put_getter_setter to op_put_getter_setter_by_id
+ https://bugs.webkit.org/show_bug.cgi?id=150773
+
+ Reviewed by Mark Lam.
+
+ Renaming op_put_getter_setter to op_put_getter_setter_by_id makes this op name consistent with
+ the other ops' names like op_put_getter_by_id etc.
+
+ * bytecode/BytecodeList.json:
+ * bytecode/BytecodeUseDef.h:
+ (JSC::computeUsesForBytecodeOffset):
+ (JSC::computeDefsForBytecodeOffset):
+ * bytecode/CodeBlock.cpp:
+ (JSC::CodeBlock::dumpBytecode):
+ * bytecompiler/BytecodeGenerator.cpp:
+ (JSC::BytecodeGenerator::emitPutGetterSetter):
+ * dfg/DFGByteCodeParser.cpp:
+ (JSC::DFG::ByteCodeParser::parseBlock):
+ * dfg/DFGCapabilities.cpp:
+ (JSC::DFG::capabilityLevel):
+ * jit/JIT.cpp:
+ (JSC::JIT::privateCompileMainPass):
+ * jit/JIT.h:
+ * jit/JITPropertyAccess.cpp:
+ (JSC::JIT::emit_op_put_getter_setter_by_id):
+ (JSC::JIT::emit_op_put_getter_setter): Deleted.
+ * jit/JITPropertyAccess32_64.cpp:
+ (JSC::JIT::emit_op_put_getter_setter_by_id):
+ (JSC::JIT::emit_op_put_getter_setter): Deleted.
+ * llint/LLIntSlowPaths.cpp:
+ (JSC::LLInt::LLINT_SLOW_PATH_DECL):
+ * llint/LLIntSlowPaths.h:
+ * llint/LowLevelInterpreter.asm:
+
2015-10-31 Andreas Kling <akling@apple.com>
Add a debug overlay with information about web process resource usage.
{ "name" : "op_put_by_index", "length" : 4 },
{ "name" : "op_put_getter_by_id", "length" : 5 },
{ "name" : "op_put_setter_by_id", "length" : 5 },
- { "name" : "op_put_getter_setter", "length" : 6 },
+ { "name" : "op_put_getter_setter_by_id", "length" : 6 },
{ "name" : "op_put_getter_by_val", "length" : 5 },
{ "name" : "op_put_setter_by_val", "length" : 5 },
{ "name" : "op_jmp", "length" : 2 },
functor(codeBlock, instruction, opcodeID, instruction[4].u.operand);
return;
}
- case op_put_getter_setter: {
+ case op_put_getter_setter_by_id: {
functor(codeBlock, instruction, opcodeID, instruction[1].u.operand);
functor(codeBlock, instruction, opcodeID, instruction[4].u.operand);
functor(codeBlock, instruction, opcodeID, instruction[5].u.operand);
case op_put_by_id:
case op_put_getter_by_id:
case op_put_setter_by_id:
- case op_put_getter_setter:
+ case op_put_getter_setter_by_id:
case op_put_getter_by_val:
case op_put_setter_by_val:
case op_put_by_val:
out.printf("%s, %s, %d, %s", registerName(r0).data(), idName(id0, identifier(id0)).data(), n0, registerName(r1).data());
break;
}
- case op_put_getter_setter: {
+ case op_put_getter_setter_by_id: {
int r0 = (++it)->u.operand;
int id0 = (++it)->u.operand;
int n0 = (++it)->u.operand;
int r1 = (++it)->u.operand;
int r2 = (++it)->u.operand;
- printLocationAndOp(out, exec, location, it, "put_getter_setter");
+ printLocationAndOp(out, exec, location, it, "put_getter_setter_by_id");
out.printf("%s, %s, %d, %s, %s", registerName(r0).data(), idName(id0, identifier(id0)).data(), n0, registerName(r1).data(), registerName(r2).data());
break;
}
m_staticPropertyAnalyzer.putById(base->index(), propertyIndex);
- emitOpcode(op_put_getter_setter);
+ emitOpcode(op_put_getter_setter_by_id);
instructions().append(base->index());
instructions().append(propertyIndex);
instructions().append(attributes);
NEXT_OPCODE(op_put_getter_by_id);
}
- case op_put_getter_setter: {
+ case op_put_getter_setter_by_id: {
Node* base = get(VirtualRegister(currentInstruction[1].u.operand));
unsigned identifierNumber = m_inlineStackTop->m_identifierRemap[currentInstruction[2].u.operand];
unsigned attributes = currentInstruction[3].u.operand;
Node* getter = get(VirtualRegister(currentInstruction[4].u.operand));
Node* setter = get(VirtualRegister(currentInstruction[5].u.operand));
addToGraph(PutGetterSetterById, OpInfo(identifierNumber), OpInfo(attributes), base, getter, setter);
- NEXT_OPCODE(op_put_getter_setter);
+ NEXT_OPCODE(op_put_getter_setter_by_id);
}
case op_put_getter_by_val:
case op_put_by_id:
case op_put_getter_by_id:
case op_put_setter_by_id:
- case op_put_getter_setter:
+ case op_put_getter_setter_by_id:
case op_put_getter_by_val:
case op_put_setter_by_val:
case op_jmp:
DEFINE_OP(op_put_by_val)
DEFINE_OP(op_put_getter_by_id)
DEFINE_OP(op_put_setter_by_id)
- DEFINE_OP(op_put_getter_setter)
+ DEFINE_OP(op_put_getter_setter_by_id)
DEFINE_OP(op_put_getter_by_val)
DEFINE_OP(op_put_setter_by_val)
void emit_op_put_by_val(Instruction*);
void emit_op_put_getter_by_id(Instruction*);
void emit_op_put_setter_by_id(Instruction*);
- void emit_op_put_getter_setter(Instruction*);
+ void emit_op_put_getter_setter_by_id(Instruction*);
void emit_op_put_getter_by_val(Instruction*);
void emit_op_put_setter_by_val(Instruction*);
void emit_op_ret(Instruction*);
callOperation(operationPutSetterById, regT0, m_codeBlock->identifier(currentInstruction[2].u.operand).impl(), options, regT1);
}
-void JIT::emit_op_put_getter_setter(Instruction* currentInstruction)
+void JIT::emit_op_put_getter_setter_by_id(Instruction* currentInstruction)
{
emitGetVirtualRegister(currentInstruction[1].u.operand, regT0);
int32_t attribute = currentInstruction[3].u.operand;
callOperation(operationPutSetterById, regT1, m_codeBlock->identifier(property).impl(), options, regT3);
}
-void JIT::emit_op_put_getter_setter(Instruction* currentInstruction)
+void JIT::emit_op_put_getter_setter_by_id(Instruction* currentInstruction)
{
int base = currentInstruction[1].u.operand;
int property = currentInstruction[2].u.operand;
LLINT_END();
}
-LLINT_SLOW_PATH_DECL(slow_path_put_getter_setter)
+LLINT_SLOW_PATH_DECL(slow_path_put_getter_setter_by_id)
{
LLINT_BEGIN();
ASSERT(LLINT_OP(1).jsValue().isObject());
LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_put_by_index);
LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_put_getter_by_id);
LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_put_setter_by_id);
-LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_put_getter_setter);
+LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_put_getter_setter_by_id);
LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_put_getter_by_val);
LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_put_setter_by_val);
LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_jtrue);
dispatch(5)
-_llint_op_put_getter_setter:
+_llint_op_put_getter_setter_by_id:
traceExecution()
- callSlowPath(_llint_slow_path_put_getter_setter)
+ callSlowPath(_llint_slow_path_put_getter_setter_by_id)
dispatch(6)