OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 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 13 matching lines...) Expand all Loading... |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 | 28 |
29 #include "v8.h" | 29 #include "v8.h" |
30 #include "macro-assembler.h" | 30 #include "macro-assembler.h" |
31 #include "register-allocator-inl.h" | 31 #include "register-allocator-inl.h" |
32 #include "codegen.h" | 32 #include "codegen.h" |
33 | 33 |
34 namespace v8 { namespace internal { | 34 namespace v8 { |
| 35 namespace internal { |
35 | 36 |
36 CodeGenerator::CodeGenerator(int buffer_size, | 37 CodeGenerator::CodeGenerator(int buffer_size, |
37 Handle<Script> script, | 38 Handle<Script> script, |
38 bool is_eval) | 39 bool is_eval) |
39 : is_eval_(is_eval), | 40 : is_eval_(is_eval), |
40 script_(script), | 41 script_(script), |
41 deferred_(8), | 42 deferred_(8), |
42 masm_(new MacroAssembler(NULL, buffer_size)), | 43 masm_(new MacroAssembler(NULL, buffer_size)), |
43 scope_(NULL), | 44 scope_(NULL), |
44 frame_(NULL), | 45 frame_(NULL), |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 masm->int3(); // TODO(X64): UNIMPLEMENTED. | 229 masm->int3(); // TODO(X64): UNIMPLEMENTED. |
229 } | 230 } |
230 | 231 |
231 void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { | 232 void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { |
232 masm->int3(); // TODO(X64): UNIMPLEMENTED. | 233 masm->int3(); // TODO(X64): UNIMPLEMENTED. |
233 } | 234 } |
234 | 235 |
235 | 236 |
236 | 237 |
237 } } // namespace v8::internal | 238 } } // namespace v8::internal |
OLD | NEW |