| 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 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1012             proxy_line_offset, | 1012             proxy_line_offset, | 
| 1013             common_attributes); | 1013             common_attributes); | 
| 1014     Handle<Proxy> proxy_column_offset = | 1014     Handle<Proxy> proxy_column_offset = | 
| 1015         Factory::NewProxy(&Accessors::ScriptColumnOffset); | 1015         Factory::NewProxy(&Accessors::ScriptColumnOffset); | 
| 1016     script_descriptors = | 1016     script_descriptors = | 
| 1017         Factory::CopyAppendProxyDescriptor( | 1017         Factory::CopyAppendProxyDescriptor( | 
| 1018             script_descriptors, | 1018             script_descriptors, | 
| 1019             Factory::LookupAsciiSymbol("column_offset"), | 1019             Factory::LookupAsciiSymbol("column_offset"), | 
| 1020             proxy_column_offset, | 1020             proxy_column_offset, | 
| 1021             common_attributes); | 1021             common_attributes); | 
|  | 1022     Handle<Proxy> proxy_data = Factory::NewProxy(&Accessors::ScriptData); | 
|  | 1023     script_descriptors = | 
|  | 1024         Factory::CopyAppendProxyDescriptor( | 
|  | 1025             script_descriptors, | 
|  | 1026             Factory::LookupAsciiSymbol("data"), | 
|  | 1027             proxy_data, | 
|  | 1028             common_attributes); | 
| 1022     Handle<Proxy> proxy_type = Factory::NewProxy(&Accessors::ScriptType); | 1029     Handle<Proxy> proxy_type = Factory::NewProxy(&Accessors::ScriptType); | 
| 1023     script_descriptors = | 1030     script_descriptors = | 
| 1024         Factory::CopyAppendProxyDescriptor( | 1031         Factory::CopyAppendProxyDescriptor( | 
| 1025             script_descriptors, | 1032             script_descriptors, | 
| 1026             Factory::LookupAsciiSymbol("type"), | 1033             Factory::LookupAsciiSymbol("type"), | 
| 1027             proxy_type, | 1034             proxy_type, | 
| 1028             common_attributes); | 1035             common_attributes); | 
| 1029     Handle<Proxy> proxy_line_ends = | 1036     Handle<Proxy> proxy_line_ends = | 
| 1030         Factory::NewProxy(&Accessors::ScriptLineEnds); | 1037         Factory::NewProxy(&Accessors::ScriptLineEnds); | 
| 1031     script_descriptors = | 1038     script_descriptors = | 
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1525 } | 1532 } | 
| 1526 | 1533 | 
| 1527 | 1534 | 
| 1528 // Restore statics that are thread local. | 1535 // Restore statics that are thread local. | 
| 1529 char* Genesis::RestoreState(char* from) { | 1536 char* Genesis::RestoreState(char* from) { | 
| 1530   current_ = *reinterpret_cast<Genesis**>(from); | 1537   current_ = *reinterpret_cast<Genesis**>(from); | 
| 1531   return from + sizeof(current_); | 1538   return from + sizeof(current_); | 
| 1532 } | 1539 } | 
| 1533 | 1540 | 
| 1534 } }  // namespace v8::internal | 1541 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|