| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 3627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3638 // Set integer fields (smi or int, depending on the architecture). | 3638 // Set integer fields (smi or int, depending on the architecture). |
| 3639 share->set_length(0); | 3639 share->set_length(0); |
| 3640 share->set_formal_parameter_count(0); | 3640 share->set_formal_parameter_count(0); |
| 3641 share->set_expected_nof_properties(0); | 3641 share->set_expected_nof_properties(0); |
| 3642 share->set_num_literals(0); | 3642 share->set_num_literals(0); |
| 3643 share->set_start_position_and_type(0); | 3643 share->set_start_position_and_type(0); |
| 3644 share->set_end_position(0); | 3644 share->set_end_position(0); |
| 3645 share->set_function_token_position(0); | 3645 share->set_function_token_position(0); |
| 3646 // All compiler hints default to false or 0. | 3646 // All compiler hints default to false or 0. |
| 3647 share->set_compiler_hints(0); | 3647 share->set_compiler_hints(0); |
| 3648 share->set_opt_count(0); | 3648 share->set_opt_count_and_bailout_reason(0); |
| 3649 | 3649 |
| 3650 return share; | 3650 return share; |
| 3651 } | 3651 } |
| 3652 | 3652 |
| 3653 | 3653 |
| 3654 MaybeObject* Heap::AllocateJSMessageObject(String* type, | 3654 MaybeObject* Heap::AllocateJSMessageObject(String* type, |
| 3655 JSArray* arguments, | 3655 JSArray* arguments, |
| 3656 int start_position, | 3656 int start_position, |
| 3657 int end_position, | 3657 int end_position, |
| 3658 Object* script, | 3658 Object* script, |
| (...skipping 4394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8053 if (FLAG_concurrent_recompilation) { | 8053 if (FLAG_concurrent_recompilation) { |
| 8054 heap_->relocation_mutex_->Lock(); | 8054 heap_->relocation_mutex_->Lock(); |
| 8055 #ifdef DEBUG | 8055 #ifdef DEBUG |
| 8056 heap_->relocation_mutex_locked_by_optimizer_thread_ = | 8056 heap_->relocation_mutex_locked_by_optimizer_thread_ = |
| 8057 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread(); | 8057 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread(); |
| 8058 #endif // DEBUG | 8058 #endif // DEBUG |
| 8059 } | 8059 } |
| 8060 } | 8060 } |
| 8061 | 8061 |
| 8062 } } // namespace v8::internal | 8062 } } // namespace v8::internal |
| OLD | NEW |