OLD | NEW |
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-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 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 #include "v8.h" | 28 #include "v8.h" |
29 | 29 |
30 #include "bootstrapper.h" | 30 #include "bootstrapper.h" |
31 #include "codegen-inl.h" | 31 #include "codegen-inl.h" |
32 #include "debug.h" | 32 #include "debug.h" |
33 #include "prettyprinter.h" | 33 #include "prettyprinter.h" |
| 34 #include "runtime.h" |
34 #include "scopeinfo.h" | 35 #include "scopeinfo.h" |
35 #include "runtime.h" | |
36 #include "stub-cache.h" | 36 #include "stub-cache.h" |
| 37 #include "virtual-frame.h" |
37 | 38 |
38 namespace v8 { namespace internal { | 39 namespace v8 { namespace internal { |
39 | 40 |
40 DeferredCode::DeferredCode(CodeGenerator* generator) | 41 DeferredCode::DeferredCode(CodeGenerator* generator) |
41 : generator_(generator), | 42 : generator_(generator), |
42 masm_(generator->masm()), | 43 masm_(generator->masm()), |
43 enter_(generator), | 44 enter_(generator), |
44 exit_(generator, JumpTarget::BIDIRECTIONAL), | 45 exit_(generator, JumpTarget::BIDIRECTIONAL), |
45 statement_position_(masm_->current_statement_position()), | 46 statement_position_(masm_->current_statement_position()), |
46 position_(masm_->current_position()) { | 47 position_(masm_->current_position()) { |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { | 585 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
585 switch (type_) { | 586 switch (type_) { |
586 case READ_LENGTH: GenerateReadLength(masm); break; | 587 case READ_LENGTH: GenerateReadLength(masm); break; |
587 case READ_ELEMENT: GenerateReadElement(masm); break; | 588 case READ_ELEMENT: GenerateReadElement(masm); break; |
588 case NEW_OBJECT: GenerateNewObject(masm); break; | 589 case NEW_OBJECT: GenerateNewObject(masm); break; |
589 } | 590 } |
590 } | 591 } |
591 | 592 |
592 | 593 |
593 } } // namespace v8::internal | 594 } } // namespace v8::internal |
OLD | NEW |