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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 __ push(r1); | 171 __ push(r1); |
172 __ CallRuntime(Runtime::kLazyCompile, 1); | 172 __ CallRuntime(Runtime::kLazyCompile, 1); |
173 | 173 |
174 // Calculate the entry point. | 174 // Calculate the entry point. |
175 __ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag)); | 175 __ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag)); |
176 | 176 |
177 // Restore saved function. | 177 // Restore saved function. |
178 __ pop(r1); | 178 __ pop(r1); |
179 | 179 |
180 // Tear down temporary frame. | 180 // Tear down temporary frame. |
181 __ ExitInternalFrame(); | 181 __ LeaveInternalFrame(); |
182 | 182 |
183 // Do a tail-call of the compiled function. | 183 // Do a tail-call of the compiled function. |
184 __ Jump(r2); | 184 __ Jump(r2); |
185 | 185 |
186 return GetCodeWithFlags(flags); | 186 return GetCodeWithFlags(flags); |
187 } | 187 } |
188 | 188 |
189 | 189 |
190 Object* CallStubCompiler::CompileCallField(Object* object, | 190 Object* CallStubCompiler::CompileCallField(Object* object, |
191 JSObject* holder, | 191 JSObject* holder, |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 String* name) { | 788 String* name) { |
789 UNIMPLEMENTED(); | 789 UNIMPLEMENTED(); |
790 return Heap::undefined_value(); | 790 return Heap::undefined_value(); |
791 } | 791 } |
792 | 792 |
793 | 793 |
794 | 794 |
795 #undef __ | 795 #undef __ |
796 | 796 |
797 } } // namespace v8::internal | 797 } } // namespace v8::internal |
OLD | NEW |