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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(Heap::undefined_value()); |
192 script->set_eval_from_function(Heap::undefined_value()); | 192 script->set_eval_from_shared(Heap::undefined_value()); |
193 script->set_eval_from_instructions_offset(Smi::FromInt(0)); | 193 script->set_eval_from_instructions_offset(Smi::FromInt(0)); |
194 | 194 |
195 return script; | 195 return script; |
196 } | 196 } |
197 | 197 |
198 | 198 |
199 Handle<Proxy> Factory::NewProxy(Address addr, PretenureFlag pretenure) { | 199 Handle<Proxy> Factory::NewProxy(Address addr, PretenureFlag pretenure) { |
200 CALL_HEAP_FUNCTION(Heap::AllocateProxy(addr, pretenure), Proxy); | 200 CALL_HEAP_FUNCTION(Heap::AllocateProxy(addr, pretenure), Proxy); |
201 } | 201 } |
202 | 202 |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 Execution::ConfigureInstance(instance, | 945 Execution::ConfigureInstance(instance, |
946 instance_template, | 946 instance_template, |
947 pending_exception); | 947 pending_exception); |
948 } else { | 948 } else { |
949 *pending_exception = false; | 949 *pending_exception = false; |
950 } | 950 } |
951 } | 951 } |
952 | 952 |
953 | 953 |
954 } } // namespace v8::internal | 954 } } // namespace v8::internal |
OLD | NEW |