Skip to content

Commit

Permalink
Remove logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
D8H committed Dec 3, 2023
1 parent ad0ed13 commit 74c7c55
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions newIDE/app/src/InstructionOrExpression/EnumerateInstructions.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ const isObjectInstruction = (
objectType?: string,
objectBehaviorTypes?: Set<string>
): boolean => {
if (instructionMetadata.getType === 'BuiltinCommonInstructions::Once') {
console.log('isObjectInstruction?');
}
let firstParameterIndex = -1;
for (
let index = 0;
Expand All @@ -42,16 +39,10 @@ const isObjectInstruction = (
}
}
if (firstParameterIndex === -1) {
if (instructionMetadata.getType === 'BuiltinCommonInstructions::Once') {
console.log('No 1st parameter');
}
return false;
}
const firstParameter = instructionMetadata.getParameter(firstParameterIndex);
if (!gd.ParameterMetadata.isObject(firstParameter.getType())) {
if (instructionMetadata.getType === 'BuiltinCommonInstructions::Once') {
console.log('Not an object');
}
return false;
}
if (
Expand All @@ -63,9 +54,6 @@ const isObjectInstruction = (
}

if (!objectBehaviorTypes) {
if (instructionMetadata.getType === 'BuiltinCommonInstructions::Once') {
console.log('Object without behavior constraints');
}
return true;
}
for (
Expand Down

0 comments on commit 74c7c55

Please sign in to comment.