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

Side by Side Diff: src/objects.h

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation issues Created 5 years, 11 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/mips/regexp-macro-assembler-mips.cc ('k') | src/parser.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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 4242 matching lines...) Expand 10 before | Expand all | Expand 10 after
4253 // must be an internalized string. 4253 // must be an internalized string.
4254 int FunctionContextSlotIndex(String* name, VariableMode* mode); 4254 int FunctionContextSlotIndex(String* name, VariableMode* mode);
4255 4255
4256 4256
4257 // Copies all the context locals into an object used to materialize a scope. 4257 // Copies all the context locals into an object used to materialize a scope.
4258 static bool CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info, 4258 static bool CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info,
4259 Handle<Context> context, 4259 Handle<Context> context,
4260 Handle<JSObject> scope_object); 4260 Handle<JSObject> scope_object);
4261 4261
4262 4262
4263 static Handle<ScopeInfo> Create(Scope* scope, Zone* zone); 4263 static Handle<ScopeInfo> Create(Isolate* isolate, Zone* zone, Scope* scope);
4264 4264
4265 // Serializes empty scope info. 4265 // Serializes empty scope info.
4266 static ScopeInfo* Empty(Isolate* isolate); 4266 static ScopeInfo* Empty(Isolate* isolate);
4267 4267
4268 #ifdef DEBUG 4268 #ifdef DEBUG
4269 void Print(); 4269 void Print();
4270 #endif 4270 #endif
4271 4271
4272 // The layout of the static part of a ScopeInfo is as follows. Each entry is 4272 // The layout of the static part of a ScopeInfo is as follows. Each entry is
4273 // numeric and occupies one array slot. 4273 // numeric and occupies one array slot.
(...skipping 6654 matching lines...) Expand 10 before | Expand all | Expand 10 after
10928 } else { 10928 } else {
10929 value &= ~(1 << bit_position); 10929 value &= ~(1 << bit_position);
10930 } 10930 }
10931 return value; 10931 return value;
10932 } 10932 }
10933 }; 10933 };
10934 10934
10935 } } // namespace v8::internal 10935 } } // namespace v8::internal
10936 10936
10937 #endif // V8_OBJECTS_H_ 10937 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/regexp-macro-assembler-mips.cc ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698