OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 script->set_source(*source); | 181 script->set_source(*source); |
182 script->set_name(Heap::undefined_value()); | 182 script->set_name(Heap::undefined_value()); |
183 script->set_id(Heap::last_script_id()); | 183 script->set_id(Heap::last_script_id()); |
184 script->set_line_offset(Smi::FromInt(0)); | 184 script->set_line_offset(Smi::FromInt(0)); |
185 script->set_column_offset(Smi::FromInt(0)); | 185 script->set_column_offset(Smi::FromInt(0)); |
186 script->set_data(Heap::undefined_value()); | 186 script->set_data(Heap::undefined_value()); |
187 script->set_context_data(Heap::undefined_value()); | 187 script->set_context_data(Heap::undefined_value()); |
188 script->set_type(Smi::FromInt(Script::TYPE_NORMAL)); | 188 script->set_type(Smi::FromInt(Script::TYPE_NORMAL)); |
189 script->set_compilation_type(Smi::FromInt(Script::COMPILATION_TYPE_HOST)); | 189 script->set_compilation_type(Smi::FromInt(Script::COMPILATION_TYPE_HOST)); |
190 script->set_wrapper(*wrapper); | 190 script->set_wrapper(*wrapper); |
191 script->set_line_ends(Heap::undefined_value()); | 191 script->set_line_ends_fixed_array(Heap::undefined_value()); |
| 192 script->set_line_ends_js_array(Heap::undefined_value()); |
192 script->set_eval_from_function(Heap::undefined_value()); | 193 script->set_eval_from_function(Heap::undefined_value()); |
193 script->set_eval_from_instructions_offset(Smi::FromInt(0)); | 194 script->set_eval_from_instructions_offset(Smi::FromInt(0)); |
194 | 195 |
195 return script; | 196 return script; |
196 } | 197 } |
197 | 198 |
198 | 199 |
199 Handle<Proxy> Factory::NewProxy(Address addr, PretenureFlag pretenure) { | 200 Handle<Proxy> Factory::NewProxy(Address addr, PretenureFlag pretenure) { |
200 CALL_HEAP_FUNCTION(Heap::AllocateProxy(addr, pretenure), Proxy); | 201 CALL_HEAP_FUNCTION(Heap::AllocateProxy(addr, pretenure), Proxy); |
201 } | 202 } |
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 Execution::ConfigureInstance(instance, | 946 Execution::ConfigureInstance(instance, |
946 instance_template, | 947 instance_template, |
947 pending_exception); | 948 pending_exception); |
948 } else { | 949 } else { |
949 *pending_exception = false; | 950 *pending_exception = false; |
950 } | 951 } |
951 } | 952 } |
952 | 953 |
953 | 954 |
954 } } // namespace v8::internal | 955 } } // namespace v8::internal |
OLD | NEW |