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

Side by Side Diff: src/bootstrapper.cc

Issue 1256503004: Version 4.4.63.24 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.4
Patch Set: Created 5 years, 5 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
« no previous file with comments | « src/api.cc ('k') | src/isolate.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api-natives.h" 8 #include "src/api-natives.h"
9 #include "src/base/utils/random-number-generator.h" 9 #include "src/base/utils/random-number-generator.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 2795 matching lines...) Expand 10 before | Expand all | Expand 10 after
2806 LookupIterator it(to, key, LookupIterator::OWN_SKIP_INTERCEPTOR); 2806 LookupIterator it(to, key, LookupIterator::OWN_SKIP_INTERCEPTOR);
2807 CHECK_NE(LookupIterator::ACCESS_CHECK, it.state()); 2807 CHECK_NE(LookupIterator::ACCESS_CHECK, it.state());
2808 if (it.IsFound()) continue; 2808 if (it.IsFound()) continue;
2809 // Set the property. 2809 // Set the property.
2810 Handle<Object> value = Handle<Object>(properties->ValueAt(i), 2810 Handle<Object> value = Handle<Object>(properties->ValueAt(i),
2811 isolate()); 2811 isolate());
2812 DCHECK(!value->IsCell()); 2812 DCHECK(!value->IsCell());
2813 if (value->IsPropertyCell()) { 2813 if (value->IsPropertyCell()) {
2814 value = handle(PropertyCell::cast(*value)->value(), isolate()); 2814 value = handle(PropertyCell::cast(*value)->value(), isolate());
2815 } 2815 }
2816 if (value->IsTheHole()) continue;
2816 PropertyDetails details = properties->DetailsAt(i); 2817 PropertyDetails details = properties->DetailsAt(i);
2817 DCHECK_EQ(kData, details.kind()); 2818 DCHECK_EQ(kData, details.kind());
2818 JSObject::AddProperty(to, key, value, details.attributes()); 2819 JSObject::AddProperty(to, key, value, details.attributes());
2819 } 2820 }
2820 } 2821 }
2821 } 2822 }
2822 } 2823 }
2823 2824
2824 2825
2825 void Genesis::TransferIndexedProperties(Handle<JSObject> from, 2826 void Genesis::TransferIndexedProperties(Handle<JSObject> from,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
3003 return from + sizeof(NestingCounterType); 3004 return from + sizeof(NestingCounterType);
3004 } 3005 }
3005 3006
3006 3007
3007 // Called when the top-level V8 mutex is destroyed. 3008 // Called when the top-level V8 mutex is destroyed.
3008 void Bootstrapper::FreeThreadResources() { 3009 void Bootstrapper::FreeThreadResources() {
3009 DCHECK(!IsActive()); 3010 DCHECK(!IsActive());
3010 } 3011 }
3011 3012
3012 } } // namespace v8::internal 3013 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698