| 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 14 matching lines...) Expand all Loading... |
| 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 "compilation-cache.h" | 32 #include "compilation-cache.h" |
| 33 #include "compiler.h" | 33 #include "compiler.h" |
| 34 #include "debug.h" | 34 #include "debug.h" |
| 35 #include "fast-codegen.h" | 35 #include "full-codegen.h" |
| 36 #include "oprofile-agent.h" | 36 #include "oprofile-agent.h" |
| 37 #include "rewriter.h" | 37 #include "rewriter.h" |
| 38 #include "scopes.h" | 38 #include "scopes.h" |
| 39 #include "usage-analyzer.h" | 39 #include "usage-analyzer.h" |
| 40 | 40 |
| 41 namespace v8 { | 41 namespace v8 { |
| 42 namespace internal { | 42 namespace internal { |
| 43 | 43 |
| 44 | 44 |
| 45 static Handle<Code> MakeCode(FunctionLiteral* literal, | 45 static Handle<Code> MakeCode(FunctionLiteral* literal, |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 fun->shared()->set_is_toplevel(is_toplevel); | 541 fun->shared()->set_is_toplevel(is_toplevel); |
| 542 fun->shared()->set_inferred_name(*lit->inferred_name()); | 542 fun->shared()->set_inferred_name(*lit->inferred_name()); |
| 543 fun->shared()->SetThisPropertyAssignmentsInfo( | 543 fun->shared()->SetThisPropertyAssignmentsInfo( |
| 544 lit->has_only_simple_this_property_assignments(), | 544 lit->has_only_simple_this_property_assignments(), |
| 545 *lit->this_property_assignments()); | 545 *lit->this_property_assignments()); |
| 546 fun->shared()->set_try_fast_codegen(lit->try_fast_codegen()); | 546 fun->shared()->set_try_fast_codegen(lit->try_fast_codegen()); |
| 547 } | 547 } |
| 548 | 548 |
| 549 | 549 |
| 550 } } // namespace v8::internal | 550 } } // namespace v8::internal |
| OLD | NEW |