Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Side by Side Diff: src/bootstrapper.cc

Issue 7043003: Version 3.3.8 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/assembler.cc ('k') | src/builtins.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after
1999 break; 1999 break;
2000 } 2000 }
2001 case MAP_TRANSITION: 2001 case MAP_TRANSITION:
2002 case EXTERNAL_ARRAY_TRANSITION: 2002 case EXTERNAL_ARRAY_TRANSITION:
2003 case CONSTANT_TRANSITION: 2003 case CONSTANT_TRANSITION:
2004 case NULL_DESCRIPTOR: 2004 case NULL_DESCRIPTOR:
2005 // Ignore non-properties. 2005 // Ignore non-properties.
2006 break; 2006 break;
2007 case NORMAL: 2007 case NORMAL:
2008 // Do not occur since the from object has fast properties. 2008 // Do not occur since the from object has fast properties.
2009 case HANDLER:
2009 case INTERCEPTOR: 2010 case INTERCEPTOR:
2010 // No element in instance descriptors have interceptor type. 2011 // No element in instance descriptors have proxy or interceptor type.
2011 UNREACHABLE(); 2012 UNREACHABLE();
2012 break; 2013 break;
2013 } 2014 }
2014 } 2015 }
2015 } else { 2016 } else {
2016 Handle<StringDictionary> properties = 2017 Handle<StringDictionary> properties =
2017 Handle<StringDictionary>(from->property_dictionary()); 2018 Handle<StringDictionary>(from->property_dictionary());
2018 int capacity = properties->Capacity(); 2019 int capacity = properties->Capacity();
2019 for (int i = 0; i < capacity; i++) { 2020 for (int i = 0; i < capacity; i++) {
2020 Object* raw_key(properties->KeyAt(i)); 2021 Object* raw_key(properties->KeyAt(i));
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
2160 return from + sizeof(NestingCounterType); 2161 return from + sizeof(NestingCounterType);
2161 } 2162 }
2162 2163
2163 2164
2164 // Called when the top-level V8 mutex is destroyed. 2165 // Called when the top-level V8 mutex is destroyed.
2165 void Bootstrapper::FreeThreadResources() { 2166 void Bootstrapper::FreeThreadResources() {
2166 ASSERT(!IsActive()); 2167 ASSERT(!IsActive());
2167 } 2168 }
2168 2169
2169 } } // namespace v8::internal 2170 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698