| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); } | 277 static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); } |
| 278 static void GeneratePreMonomorphic(MacroAssembler* masm) { | 278 static void GeneratePreMonomorphic(MacroAssembler* masm) { |
| 279 GenerateMiss(masm); | 279 GenerateMiss(masm); |
| 280 } | 280 } |
| 281 static void GenerateMiss(MacroAssembler* masm); | 281 static void GenerateMiss(MacroAssembler* masm); |
| 282 static void GenerateMegamorphic(MacroAssembler* masm); | 282 static void GenerateMegamorphic(MacroAssembler* masm); |
| 283 static void GenerateNormal(MacroAssembler* masm); | 283 static void GenerateNormal(MacroAssembler* masm); |
| 284 | 284 |
| 285 // Specialized code generator routines. | 285 // Specialized code generator routines. |
| 286 static void GenerateArrayLength(MacroAssembler* masm); | 286 static void GenerateArrayLength(MacroAssembler* masm); |
| 287 static void GenerateStringLength(MacroAssembler* masm); | 287 static void GenerateStringLength(MacroAssembler* masm, |
| 288 bool support_wrappers); |
| 288 static void GenerateFunctionPrototype(MacroAssembler* masm); | 289 static void GenerateFunctionPrototype(MacroAssembler* masm); |
| 289 | 290 |
| 290 // Clear the use of the inlined version. | 291 // Clear the use of the inlined version. |
| 291 static void ClearInlinedVersion(Address address); | 292 static void ClearInlinedVersion(Address address); |
| 292 | 293 |
| 293 // The offset from the inlined patch site to the start of the | 294 // The offset from the inlined patch site to the start of the |
| 294 // inlined load instruction. It is architecture-dependent, and not | 295 // inlined load instruction. It is architecture-dependent, and not |
| 295 // used on ARM. | 296 // used on ARM. |
| 296 static const int kOffsetToLoadInstruction; | 297 static const int kOffsetToLoadInstruction; |
| 297 | 298 |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 | 590 |
| 590 Token::Value op_; | 591 Token::Value op_; |
| 591 }; | 592 }; |
| 592 | 593 |
| 593 // Helper for TRBinaryOpIC and CompareIC. | 594 // Helper for TRBinaryOpIC and CompareIC. |
| 594 void PatchInlinedSmiCode(Address address); | 595 void PatchInlinedSmiCode(Address address); |
| 595 | 596 |
| 596 } } // namespace v8::internal | 597 } } // namespace v8::internal |
| 597 | 598 |
| 598 #endif // V8_IC_H_ | 599 #endif // V8_IC_H_ |
| OLD | NEW |