OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 private: | 114 private: |
115 MacroAssembler* masm_; | 115 MacroAssembler* masm_; |
116 Label patch_site_; | 116 Label patch_site_; |
117 #ifdef DEBUG | 117 #ifdef DEBUG |
118 bool info_emitted_; | 118 bool info_emitted_; |
119 #endif | 119 #endif |
120 }; | 120 }; |
121 | 121 |
122 | 122 |
123 // TODO(jkummerow): Obsolete as soon as x64 is updated. Remove. | |
124 int FullCodeGenerator::self_optimization_header_size() { | |
125 UNREACHABLE(); | |
126 return 10 * Instruction::kInstrSize; | |
127 } | |
128 | |
129 | |
130 // Generate code for a JS function. On entry to the function the receiver | 123 // Generate code for a JS function. On entry to the function the receiver |
131 // and arguments have been pushed on the stack left to right. The actual | 124 // and arguments have been pushed on the stack left to right. The actual |
132 // argument count matches the formal parameter count expected by the | 125 // argument count matches the formal parameter count expected by the |
133 // function. | 126 // function. |
134 // | 127 // |
135 // The live registers are: | 128 // The live registers are: |
136 // o a1: the JS function object being called (i.e. ourselves) | 129 // o a1: the JS function object being called (i.e. ourselves) |
137 // o cp: our context | 130 // o cp: our context |
138 // o fp: our caller's frame pointer | 131 // o fp: our caller's frame pointer |
139 // o sp: stack pointer | 132 // o sp: stack pointer |
(...skipping 4426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4566 *context_length = 0; | 4559 *context_length = 0; |
4567 return previous_; | 4560 return previous_; |
4568 } | 4561 } |
4569 | 4562 |
4570 | 4563 |
4571 #undef __ | 4564 #undef __ |
4572 | 4565 |
4573 } } // namespace v8::internal | 4566 } } // namespace v8::internal |
4574 | 4567 |
4575 #endif // V8_TARGET_ARCH_MIPS | 4568 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |