OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 2359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2370 share->set_inferred_name(empty_string()); | 2370 share->set_inferred_name(empty_string()); |
2371 share->set_compiler_hints(0); | 2371 share->set_compiler_hints(0); |
2372 share->set_deopt_counter(Smi::FromInt(FLAG_deopt_every_n_times)); | 2372 share->set_deopt_counter(Smi::FromInt(FLAG_deopt_every_n_times)); |
2373 share->set_initial_map(undefined_value()); | 2373 share->set_initial_map(undefined_value()); |
2374 share->set_this_property_assignments_count(0); | 2374 share->set_this_property_assignments_count(0); |
2375 share->set_this_property_assignments(undefined_value()); | 2375 share->set_this_property_assignments(undefined_value()); |
2376 share->set_opt_count(0); | 2376 share->set_opt_count(0); |
2377 share->set_num_literals(0); | 2377 share->set_num_literals(0); |
2378 share->set_end_position(0); | 2378 share->set_end_position(0); |
2379 share->set_function_token_position(0); | 2379 share->set_function_token_position(0); |
| 2380 share->set_es5_native(false); |
2380 return result; | 2381 return result; |
2381 } | 2382 } |
2382 | 2383 |
2383 | 2384 |
2384 MaybeObject* Heap::AllocateJSMessageObject(String* type, | 2385 MaybeObject* Heap::AllocateJSMessageObject(String* type, |
2385 JSArray* arguments, | 2386 JSArray* arguments, |
2386 int start_position, | 2387 int start_position, |
2387 int end_position, | 2388 int end_position, |
2388 Object* script, | 2389 Object* script, |
2389 Object* stack_trace, | 2390 Object* stack_trace, |
(...skipping 3470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5860 } | 5861 } |
5861 | 5862 |
5862 | 5863 |
5863 void ExternalStringTable::TearDown() { | 5864 void ExternalStringTable::TearDown() { |
5864 new_space_strings_.Free(); | 5865 new_space_strings_.Free(); |
5865 old_space_strings_.Free(); | 5866 old_space_strings_.Free(); |
5866 } | 5867 } |
5867 | 5868 |
5868 | 5869 |
5869 } } // namespace v8::internal | 5870 } } // namespace v8::internal |
OLD | NEW |