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

Side by Side Diff: src/bootstrapper.cc

Issue 492433005: Get rid of the NONEXISTENT PropertyType (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix lookupresult Created 6 years, 4 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 | « no previous file | src/heap-snapshot-generator.cc » ('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/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/extensions/externalize-string-extension.h" 9 #include "src/extensions/externalize-string-extension.h"
10 #include "src/extensions/free-buffer-extension.h" 10 #include "src/extensions/free-buffer-extension.h"
(...skipping 2444 matching lines...) Expand 10 before | Expand all | Expand 10 after
2455 Handle<Object> callbacks(descs->GetCallbacksObject(i), isolate()); 2455 Handle<Object> callbacks(descs->GetCallbacksObject(i), isolate());
2456 PropertyDetails d = PropertyDetails( 2456 PropertyDetails d = PropertyDetails(
2457 details.attributes(), CALLBACKS, i + 1); 2457 details.attributes(), CALLBACKS, i + 1);
2458 JSObject::SetNormalizedProperty(to, key, callbacks, d); 2458 JSObject::SetNormalizedProperty(to, key, callbacks, d);
2459 break; 2459 break;
2460 } 2460 }
2461 case NORMAL: 2461 case NORMAL:
2462 // Do not occur since the from object has fast properties. 2462 // Do not occur since the from object has fast properties.
2463 case HANDLER: 2463 case HANDLER:
2464 case INTERCEPTOR: 2464 case INTERCEPTOR:
2465 case NONEXISTENT:
2466 // No element in instance descriptors have proxy or interceptor type. 2465 // No element in instance descriptors have proxy or interceptor type.
2467 UNREACHABLE(); 2466 UNREACHABLE();
2468 break; 2467 break;
2469 } 2468 }
2470 } 2469 }
2471 } else { 2470 } else {
2472 Handle<NameDictionary> properties = 2471 Handle<NameDictionary> properties =
2473 Handle<NameDictionary>(from->property_dictionary()); 2472 Handle<NameDictionary>(from->property_dictionary());
2474 int capacity = properties->Capacity(); 2473 int capacity = properties->Capacity();
2475 for (int i = 0; i < capacity; i++) { 2474 for (int i = 0; i < capacity; i++) {
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
2689 return from + sizeof(NestingCounterType); 2688 return from + sizeof(NestingCounterType);
2690 } 2689 }
2691 2690
2692 2691
2693 // Called when the top-level V8 mutex is destroyed. 2692 // Called when the top-level V8 mutex is destroyed.
2694 void Bootstrapper::FreeThreadResources() { 2693 void Bootstrapper::FreeThreadResources() {
2695 DCHECK(!IsActive()); 2694 DCHECK(!IsActive());
2696 } 2695 }
2697 2696
2698 } } // namespace v8::internal 2697 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698