Changeset 38428 in webkit for trunk/JavaScriptCore/parser/Nodes.h
- Timestamp:
- Nov 15, 2008, 1:37:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/parser/Nodes.h
r38427 r38428 1078 1078 1079 1079 virtual RegisterID* emitBytecode(BytecodeGenerator&, RegisterID* = 0) JSC_FAST_CALL; 1080 virtual BytecodeID bytecode() const JSC_FAST_CALL = 0;1080 virtual OpcodeID opcodeID() const JSC_FAST_CALL = 0; 1081 1081 1082 1082 protected: … … 1093 1093 virtual ExpressionNode* stripUnaryPlus() { return m_expr.get(); } 1094 1094 1095 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_to_jsnumber; }1095 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_to_jsnumber; } 1096 1096 }; 1097 1097 … … 1103 1103 } 1104 1104 1105 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_negate; }1105 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_negate; } 1106 1106 }; 1107 1107 … … 1113 1113 } 1114 1114 1115 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_bitnot; }1115 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_bitnot; } 1116 1116 }; 1117 1117 … … 1123 1123 } 1124 1124 1125 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_not; }1125 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_not; } 1126 1126 }; 1127 1127 … … 1148 1148 1149 1149 virtual RegisterID* emitBytecode(BytecodeGenerator&, RegisterID* = 0) JSC_FAST_CALL; 1150 virtual BytecodeID bytecode() const JSC_FAST_CALL = 0;1150 virtual OpcodeID opcodeID() const JSC_FAST_CALL = 0; 1151 1151 1152 1152 protected: … … 1178 1178 } 1179 1179 1180 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_mul; }1180 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_mul; } 1181 1181 }; 1182 1182 … … 1188 1188 } 1189 1189 1190 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_div; }1190 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_div; } 1191 1191 }; 1192 1192 … … 1198 1198 } 1199 1199 1200 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_mod; }1200 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_mod; } 1201 1201 }; 1202 1202 … … 1208 1208 } 1209 1209 1210 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_add; }1210 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_add; } 1211 1211 }; 1212 1212 … … 1218 1218 } 1219 1219 1220 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_sub; }1220 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_sub; } 1221 1221 }; 1222 1222 … … 1228 1228 } 1229 1229 1230 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_lshift; }1230 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_lshift; } 1231 1231 }; 1232 1232 … … 1238 1238 } 1239 1239 1240 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_rshift; }1240 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_rshift; } 1241 1241 }; 1242 1242 … … 1248 1248 } 1249 1249 1250 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_urshift; }1250 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_urshift; } 1251 1251 }; 1252 1252 … … 1258 1258 } 1259 1259 1260 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_less; }1260 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_less; } 1261 1261 }; 1262 1262 … … 1268 1268 } 1269 1269 1270 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_less; }1270 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_less; } 1271 1271 }; 1272 1272 … … 1278 1278 } 1279 1279 1280 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_lesseq; }1280 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_lesseq; } 1281 1281 }; 1282 1282 … … 1288 1288 } 1289 1289 1290 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_lesseq; }1290 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_lesseq; } 1291 1291 }; 1292 1292 … … 1311 1311 } 1312 1312 1313 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_instanceof; }1313 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_instanceof; } 1314 1314 1315 1315 virtual RegisterID* emitBytecode(BytecodeGenerator&, RegisterID* = 0) JSC_FAST_CALL; … … 1323 1323 } 1324 1324 1325 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_in; }1325 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_in; } 1326 1326 }; 1327 1327 … … 1334 1334 1335 1335 virtual RegisterID* emitBytecode(BytecodeGenerator&, RegisterID* = 0) JSC_FAST_CALL; 1336 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_eq; }1336 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_eq; } 1337 1337 }; 1338 1338 … … 1344 1344 } 1345 1345 1346 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_neq; }1346 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_neq; } 1347 1347 }; 1348 1348 … … 1355 1355 1356 1356 virtual RegisterID* emitBytecode(BytecodeGenerator&, RegisterID* = 0) JSC_FAST_CALL; 1357 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_stricteq; }1357 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_stricteq; } 1358 1358 }; 1359 1359 … … 1365 1365 } 1366 1366 1367 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_nstricteq; }1367 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_nstricteq; } 1368 1368 }; 1369 1369 … … 1375 1375 } 1376 1376 1377 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_bitand; }1377 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_bitand; } 1378 1378 }; 1379 1379 … … 1385 1385 } 1386 1386 1387 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_bitor; }1387 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_bitor; } 1388 1388 }; 1389 1389 … … 1395 1395 } 1396 1396 1397 virtual BytecodeID bytecode() const JSC_FAST_CALL { return op_bitxor; }1397 virtual OpcodeID opcodeID() const JSC_FAST_CALL { return op_bitxor; } 1398 1398 }; 1399 1399
Note:
See TracChangeset
for help on using the changeset viewer.