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

Side by Side Diff: src/transitions.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/transitions.h ('k') | src/transitions-inl.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 "v8.h" 5 #include "src/v8.h"
6 6
7 #include "objects.h" 7 #include "src/objects.h"
8 #include "transitions-inl.h" 8 #include "src/transitions-inl.h"
9 #include "utils.h" 9 #include "src/utils.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 14
15 Handle<TransitionArray> TransitionArray::Allocate(Isolate* isolate, 15 Handle<TransitionArray> TransitionArray::Allocate(Isolate* isolate,
16 int number_of_transitions) { 16 int number_of_transitions) {
17 Handle<FixedArray> array = 17 Handle<FixedArray> array =
18 isolate->factory()->NewFixedArray(ToKeyIndex(number_of_transitions)); 18 isolate->factory()->NewFixedArray(ToKeyIndex(number_of_transitions));
19 array->set(kPrototypeTransitionsIndex, Smi::FromInt(0)); 19 array->set(kPrototypeTransitionsIndex, Smi::FromInt(0));
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 result->NoIncrementalWriteBarrierCopyFrom( 147 result->NoIncrementalWriteBarrierCopyFrom(
148 array, insertion_index, insertion_index + 1); 148 array, insertion_index, insertion_index + 1);
149 } 149 }
150 150
151 result->set_back_pointer_storage(array->back_pointer_storage()); 151 result->set_back_pointer_storage(array->back_pointer_storage());
152 return result; 152 return result;
153 } 153 }
154 154
155 155
156 } } // namespace v8::internal 156 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/transitions.h ('k') | src/transitions-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698