Lines Matching defs:label

11 #include "src/interpreter/bytecode-label.h"
174 void BytecodeArrayBuilder::WriteJump(BytecodeNode* node, BytecodeLabel* label) {
176 bytecode_array_writer_.WriteJump(node, label);
371 void BytecodeArrayBuilder::Output##name(BytecodeLabel* label, \
375 WriteJump(&node, label); \
1095 BytecodeArrayBuilder& BytecodeArrayBuilder::Bind(BytecodeLabel* label) {
1096 // Don't generate code for a label which hasn't had a corresponding forward
1098 if (!label->has_referrer_jump()) return *this;
1100 // Flush the register optimizer when binding a label to ensure all
1101 // expected registers are valid when jumping to this label.
1103 bytecode_array_writer_.BindLabel(label);
1152 BytecodeArrayBuilder& BytecodeArrayBuilder::Jump(BytecodeLabel* label) {
1153 DCHECK(!label->is_bound());
1154 OutputJump(label, 0);
1159 BytecodeLabel* label) {
1160 DCHECK(!label->is_bound());
1162 OutputJumpIfTrue(label, 0);
1165 OutputJumpIfToBooleanTrue(label, 0);
1171 BytecodeLabel* label) {
1172 DCHECK(!label->is_bound());
1174 OutputJumpIfFalse(label, 0);
1177 OutputJumpIfToBooleanFalse(label, 0);
1182 BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfNull(BytecodeLabel* label) {
1183 DCHECK(!label->is_bound());
1184 OutputJumpIfNull(label, 0);
1189 BytecodeLabel* label) {
1190 DCHECK(!label->is_bound());
1191 OutputJumpIfNotNull(label, 0);
1196 BytecodeLabel* label) {
1197 DCHECK(!label->is_bound());
1198 OutputJumpIfUndefined(label, 0);
1203 BytecodeLabel* label) {
1204 DCHECK(!label->is_bound());
1205 OutputJumpIfUndefinedOrNull(label, 0);
1210 BytecodeLabel* label) {
1211 DCHECK(!label->is_bound());
1212 OutputJumpIfNotUndefined(label, 0);
1216 BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfNil(BytecodeLabel* label,
1222 label);
1226 return JumpIfUndefined(label);
1229 return JumpIfNull(label);
1234 BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfNotNil(BytecodeLabel* label,
1240 label);
1244 return JumpIfNotUndefined(label);
1247 return JumpIfNotNull(label);
1253 BytecodeLabel* label) {
1254 DCHECK(!label->is_bound());
1255 OutputJumpIfJSReceiver(label, 0);