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 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 } else if (strcmp("_MathSqrt", *name->ToCString()) == 0) { | 910 } else if (strcmp("_MathSqrt", *name->ToCString()) == 0) { |
911 EmitMathSqrt(expr->arguments()); | 911 EmitMathSqrt(expr->arguments()); |
912 } else if (strcmp("_CallFunction", *name->ToCString()) == 0) { | 912 } else if (strcmp("_CallFunction", *name->ToCString()) == 0) { |
913 EmitCallFunction(expr->arguments()); | 913 EmitCallFunction(expr->arguments()); |
914 } else if (strcmp("_RegExpConstructResult", *name->ToCString()) == 0) { | 914 } else if (strcmp("_RegExpConstructResult", *name->ToCString()) == 0) { |
915 EmitRegExpConstructResult(expr->arguments()); | 915 EmitRegExpConstructResult(expr->arguments()); |
916 } else if (strcmp("_SwapElements", *name->ToCString()) == 0) { | 916 } else if (strcmp("_SwapElements", *name->ToCString()) == 0) { |
917 EmitSwapElements(expr->arguments()); | 917 EmitSwapElements(expr->arguments()); |
918 } else if (strcmp("_GetFromCache", *name->ToCString()) == 0) { | 918 } else if (strcmp("_GetFromCache", *name->ToCString()) == 0) { |
919 EmitGetFromCache(expr->arguments()); | 919 EmitGetFromCache(expr->arguments()); |
| 920 } else if (strcmp("_IsRegExpEquivalent", *name->ToCString()) == 0) { |
| 921 EmitIsRegExpEquivalent(expr->arguments()); |
920 } else { | 922 } else { |
921 UNREACHABLE(); | 923 UNREACHABLE(); |
922 } | 924 } |
923 } | 925 } |
924 | 926 |
925 | 927 |
926 void FullCodeGenerator::EmitLogicalOperation(BinaryOperation* expr) { | 928 void FullCodeGenerator::EmitLogicalOperation(BinaryOperation* expr) { |
927 Label eval_right, done; | 929 Label eval_right, done; |
928 | 930 |
929 // Set up the appropriate context for the left subexpression based | 931 // Set up the appropriate context for the left subexpression based |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 // The macros used here must preserve the result register. | 1436 // The macros used here must preserve the result register. |
1435 __ Drop(stack_depth); | 1437 __ Drop(stack_depth); |
1436 __ PopTryHandler(); | 1438 __ PopTryHandler(); |
1437 return 0; | 1439 return 0; |
1438 } | 1440 } |
1439 | 1441 |
1440 #undef __ | 1442 #undef __ |
1441 | 1443 |
1442 | 1444 |
1443 } } // namespace v8::internal | 1445 } } // namespace v8::internal |
OLD | NEW |