Skip to content

Commit

Permalink
Remove debugging information
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuguohua committed Nov 18, 2024
1 parent 7ae4e26 commit 3bea58d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions native/cocos/bindings/jswrapper/jsvm/Class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ bool Class::install() {
}

NODE_API_CALL(status, env, OH_JSVM_CreateReference(env, cons, 1, &_constructor));
SE_LOGD("qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq install %p %p", this, _constructor);
NODE_API_CALL(status, env, OH_JSVM_SetNamedProperty(env, _parent->_getJSObject(), _name.c_str(), cons));

JSVM_Value proto;
Expand Down Expand Up @@ -201,21 +200,18 @@ Object *Class::getProto() const {
}

JSVM_Ref Class::_getCtorRef() const {
SE_LOGD("qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq _getCtorRef %p %p", this, _constructor);
return _constructor;
}

JSVM_Value Class::_getCtorFunc() const {
assert(_constructor);
JSVM_Value result = nullptr;
JSVM_Status status;
SE_LOGD("qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq _getCtorFunc %p %p", this, _constructor);
NODE_API_CALL(status, ScriptEngine::getEnv(), OH_JSVM_GetReferenceValue(ScriptEngine::getEnv(), _constructor, &result));
return result;
}

void Class::_setCtor(Object *obj) {
SE_LOGD("qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq _setCtor %p %p", this, obj);
assert(!_ctor.has_value());
_ctor = obj;
if (obj != nullptr) {
Expand All @@ -227,7 +223,6 @@ void Class::_setCtor(Object *obj) {
void Class::destroy() {
SAFE_DEC_REF(_parent);
SAFE_DEC_REF(_proto);
SE_LOGD("qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq destroy %p ", this);
SAFE_DEC_REF(_parentProto);
if (_ctor.has_value()) {
if (_ctor.value() != nullptr) {
Expand Down
1 change: 0 additions & 1 deletion native/cocos/bindings/manual/jsb_global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,6 @@ static bool JSB_showInputBox(se::State &s) { // NOLINT
}
}
EditBox::show(showInfo);
SE_REPORT_ERROR("qqqqqqqqqqqqqqq EditBox::show ");
return true;
}

Expand Down

0 comments on commit 3bea58d

Please sign in to comment.