| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 // Special code for typeof expressions: Unfortunately, we must | 299 // Special code for typeof expressions: Unfortunately, we must |
| 300 // be careful when loading the expression in 'typeof' | 300 // be careful when loading the expression in 'typeof' |
| 301 // expressions. We are not allowed to throw reference errors for | 301 // expressions. We are not allowed to throw reference errors for |
| 302 // non-existing properties of the global object, so we must make it | 302 // non-existing properties of the global object, so we must make it |
| 303 // look like an explicit property access, instead of an access | 303 // look like an explicit property access, instead of an access |
| 304 // through the context chain. | 304 // through the context chain. |
| 305 void LoadTypeofExpression(Expression* x); | 305 void LoadTypeofExpression(Expression* x); |
| 306 | 306 |
| 307 void ToBoolean(JumpTarget* true_target, JumpTarget* false_target); | 307 void ToBoolean(JumpTarget* true_target, JumpTarget* false_target); |
| 308 | 308 |
| 309 // Generate code that computes a shortcutting logical operation. |
| 310 void GenerateLogicalBooleanOperation(BinaryOperation* node); |
| 311 |
| 309 void GenericBinaryOperation(Token::Value op, | 312 void GenericBinaryOperation(Token::Value op, |
| 310 OverwriteMode overwrite_mode, | 313 OverwriteMode overwrite_mode, |
| 311 int known_rhs = kUnknownIntValue); | 314 int known_rhs = kUnknownIntValue); |
| 312 void Comparison(Condition cc, | 315 void Comparison(Condition cc, |
| 313 Expression* left, | 316 Expression* left, |
| 314 Expression* right, | 317 Expression* right, |
| 315 bool strict = false); | 318 bool strict = false); |
| 316 | 319 |
| 317 void SmiOperation(Token::Value op, | 320 void SmiOperation(Token::Value op, |
| 318 Handle<Object> value, | 321 Handle<Object> value, |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 void Print() { | 732 void Print() { |
| 730 PrintF("NumberToStringStub\n"); | 733 PrintF("NumberToStringStub\n"); |
| 731 } | 734 } |
| 732 #endif | 735 #endif |
| 733 }; | 736 }; |
| 734 | 737 |
| 735 | 738 |
| 736 } } // namespace v8::internal | 739 } } // namespace v8::internal |
| 737 | 740 |
| 738 #endif // V8_ARM_CODEGEN_ARM_H_ | 741 #endif // V8_ARM_CODEGEN_ARM_H_ |
| OLD | NEW |