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 #include "v8.h" | 28 #include "v8.h" |
29 | 29 |
30 #include "accessors.h" | 30 #include "accessors.h" |
31 #include "api.h" | 31 #include "api.h" |
32 #include "arguments.h" | 32 #include "arguments.h" |
33 #include "bootstrapper.h" | 33 #include "bootstrapper.h" |
34 #include "codegen.h" | |
35 #include "compiler.h" | 34 #include "compiler.h" |
36 #include "debug.h" | 35 #include "debug.h" |
37 #include "execution.h" | 36 #include "execution.h" |
38 #include "global-handles.h" | 37 #include "global-handles.h" |
39 #include "natives.h" | 38 #include "natives.h" |
40 #include "runtime.h" | 39 #include "runtime.h" |
41 #include "stub-cache.h" | 40 #include "stub-cache.h" |
42 | 41 |
43 namespace v8 { | 42 namespace v8 { |
44 namespace internal { | 43 namespace internal { |
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 | 822 |
824 OptimizedObjectForAddingMultipleProperties:: | 823 OptimizedObjectForAddingMultipleProperties:: |
825 ~OptimizedObjectForAddingMultipleProperties() { | 824 ~OptimizedObjectForAddingMultipleProperties() { |
826 // Reoptimize the object to allow fast property access. | 825 // Reoptimize the object to allow fast property access. |
827 if (has_been_transformed_) { | 826 if (has_been_transformed_) { |
828 TransformToFastProperties(object_, unused_property_fields_); | 827 TransformToFastProperties(object_, unused_property_fields_); |
829 } | 828 } |
830 } | 829 } |
831 | 830 |
832 } } // namespace v8::internal | 831 } } // namespace v8::internal |
OLD | NEW |