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

Side by Side Diff: src/objects.h

Issue 12314152: Miscellaneous profile-driven Isolate plumbing. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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/mips/lithium-codegen-mips.cc ('k') | src/runtime.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 3551 matching lines...) Expand 10 before | Expand all | Expand 10 after
3562 3562
3563 // Copies all the context locals into an object used to materialize a scope. 3563 // Copies all the context locals into an object used to materialize a scope.
3564 bool CopyContextLocalsToScopeObject(Isolate* isolate, 3564 bool CopyContextLocalsToScopeObject(Isolate* isolate,
3565 Handle<Context> context, 3565 Handle<Context> context,
3566 Handle<JSObject> scope_object); 3566 Handle<JSObject> scope_object);
3567 3567
3568 3568
3569 static Handle<ScopeInfo> Create(Scope* scope, Zone* zone); 3569 static Handle<ScopeInfo> Create(Scope* scope, Zone* zone);
3570 3570
3571 // Serializes empty scope info. 3571 // Serializes empty scope info.
3572 static ScopeInfo* Empty(); 3572 static ScopeInfo* Empty(Isolate* isolate);
3573 3573
3574 #ifdef DEBUG 3574 #ifdef DEBUG
3575 void Print(); 3575 void Print();
3576 #endif 3576 #endif
3577 3577
3578 // The layout of the static part of a ScopeInfo is as follows. Each entry is 3578 // The layout of the static part of a ScopeInfo is as follows. Each entry is
3579 // numeric and occupies one array slot. 3579 // numeric and occupies one array slot.
3580 // 1. A set of properties of the scope 3580 // 1. A set of properties of the scope
3581 // 2. The number of parameters. This only applies to function scopes. For 3581 // 2. The number of parameters. This only applies to function scopes. For
3582 // non-function scopes this is 0. 3582 // non-function scopes this is 0.
(...skipping 5433 matching lines...) Expand 10 before | Expand all | Expand 10 after
9016 } else { 9016 } else {
9017 value &= ~(1 << bit_position); 9017 value &= ~(1 << bit_position);
9018 } 9018 }
9019 return value; 9019 return value;
9020 } 9020 }
9021 }; 9021 };
9022 9022
9023 } } // namespace v8::internal 9023 } } // namespace v8::internal
9024 9024
9025 #endif // V8_OBJECTS_H_ 9025 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698