| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 #include "v8.h" | 28 #include "v8.h" |
| 29 | 29 |
| 30 #include "codegen-inl.h" | 30 #include "codegen-inl.h" |
| 31 #include "ic-inl.h" | 31 #include "ic-inl.h" |
| 32 #include "runtime.h" | 32 #include "runtime.h" |
| 33 #include "stub-cache.h" | 33 #include "stub-cache.h" |
| 34 | 34 |
| 35 namespace v8 { namespace internal { | 35 namespace v8 { namespace internal { |
| 36 | 36 |
| 37 | |
| 38 DECLARE_bool(debug_code); | |
| 39 | |
| 40 | |
| 41 // ---------------------------------------------------------------------------- | 37 // ---------------------------------------------------------------------------- |
| 42 // Static IC stub generators. | 38 // Static IC stub generators. |
| 43 // | 39 // |
| 44 | 40 |
| 45 #define __ masm-> | 41 #define __ masm-> |
| 46 | 42 |
| 47 | 43 |
| 48 // Helper function used from LoadIC/CallIC GenerateNormal. | 44 // Helper function used from LoadIC/CallIC GenerateNormal. |
| 49 static void GenerateDictionaryLoad(MacroAssembler* masm, Label* miss_label, | 45 static void GenerateDictionaryLoad(MacroAssembler* masm, Label* miss_label, |
| 50 Register r0, Register r1, Register r2, | 46 Register r0, Register r1, Register r2, |
| (...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 | 730 |
| 735 // Do tail-call to runtime routine. | 731 // Do tail-call to runtime routine. |
| 736 __ TailCallRuntime(f, 3); | 732 __ TailCallRuntime(f, 3); |
| 737 } | 733 } |
| 738 | 734 |
| 739 | 735 |
| 740 #undef __ | 736 #undef __ |
| 741 | 737 |
| 742 | 738 |
| 743 } } // namespace v8::internal | 739 } } // namespace v8::internal |
| OLD | NEW |