OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1094 ProcessExpression(expr->right(), Expression::kValue); | 1094 ProcessExpression(expr->right(), Expression::kValue); |
1095 break; | 1095 break; |
1096 | 1096 |
1097 default: | 1097 default: |
1098 BAILOUT("Unsupported binary operation"); | 1098 BAILOUT("Unsupported binary operation"); |
1099 } | 1099 } |
1100 } | 1100 } |
1101 | 1101 |
1102 | 1102 |
1103 void CodeGenSelector::VisitCompareOperation(CompareOperation* expr) { | 1103 void CodeGenSelector::VisitCompareOperation(CompareOperation* expr) { |
1104 ProcessExpression(expr->left(), Expression::kValue); | 1104 ProcessExpression(expr->left(), Expression::kValue); |
1105 CHECK_BAILOUT; | 1105 CHECK_BAILOUT; |
1106 ProcessExpression(expr->right(), Expression::kValue); | 1106 ProcessExpression(expr->right(), Expression::kValue); |
1107 } | 1107 } |
1108 | 1108 |
1109 | 1109 |
1110 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) { | 1110 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) { |
1111 // ThisFunction is supported. | 1111 // ThisFunction is supported. |
1112 } | 1112 } |
1113 | 1113 |
1114 #undef BAILOUT | 1114 #undef BAILOUT |
1115 #undef CHECK_BAILOUT | 1115 #undef CHECK_BAILOUT |
1116 | 1116 |
1117 | 1117 |
1118 } } // namespace v8::internal | 1118 } } // namespace v8::internal |
OLD | NEW |