| 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 void GenerateIsObject(ZoneList<Expression*>* args); | 240 void GenerateIsObject(ZoneList<Expression*>* args); |
| 241 void GenerateIsFunction(ZoneList<Expression*>* args); | 241 void GenerateIsFunction(ZoneList<Expression*>* args); |
| 242 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); | 242 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); |
| 243 void GenerateStringAdd(ZoneList<Expression*>* args); | 243 void GenerateStringAdd(ZoneList<Expression*>* args); |
| 244 void GenerateSubString(ZoneList<Expression*>* args); | 244 void GenerateSubString(ZoneList<Expression*>* args); |
| 245 void GenerateStringCompare(ZoneList<Expression*>* args); | 245 void GenerateStringCompare(ZoneList<Expression*>* args); |
| 246 void GenerateRegExpExec(ZoneList<Expression*>* args); | 246 void GenerateRegExpExec(ZoneList<Expression*>* args); |
| 247 void GenerateNumberToString(ZoneList<Expression*>* args); | 247 void GenerateNumberToString(ZoneList<Expression*>* args); |
| 248 | 248 |
| 249 // Fast support for Math.pow(). | 249 // Fast support for Math.pow(). |
| 250 void GeneratePow(ZoneList<Expression*>* args); | 250 void GenerateMathPow(ZoneList<Expression*>* args); |
| 251 // Fast support for Math.sqrt(). |
| 252 void GenerateMathPow(ZoneList<Expression*>* args); |
| 253 |
| 251 | 254 |
| 252 // Fast support for Math.sin and Math.cos. | 255 // Fast support for Math.sin and Math.cos. |
| 253 inline void GenerateMathSin(ZoneList<Expression*>* args); | 256 inline void GenerateMathSin(ZoneList<Expression*>* args); |
| 254 inline void GenerateMathCos(ZoneList<Expression*>* args); | 257 inline void GenerateMathCos(ZoneList<Expression*>* args); |
| 255 | 258 |
| 256 // Simple condition analysis. | 259 // Simple condition analysis. |
| 257 enum ConditionAnalysis { | 260 enum ConditionAnalysis { |
| 258 ALWAYS_TRUE, | 261 ALWAYS_TRUE, |
| 259 ALWAYS_FALSE, | 262 ALWAYS_FALSE, |
| 260 DONT_KNOW | 263 DONT_KNOW |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 friend class FullCodeGenerator; | 312 friend class FullCodeGenerator; |
| 310 friend class FullCodeGenSyntaxChecker; | 313 friend class FullCodeGenSyntaxChecker; |
| 311 | 314 |
| 312 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 315 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 313 }; | 316 }; |
| 314 | 317 |
| 315 | 318 |
| 316 } } // namespace v8::internal | 319 } } // namespace v8::internal |
| 317 | 320 |
| 318 #endif // V8_MIPS_CODEGEN_MIPS_H_ | 321 #endif // V8_MIPS_CODEGEN_MIPS_H_ |
| OLD | NEW |