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

Side by Side Diff: src/profile-generator.h

Issue 12033011: Add Isolate parameter to Persistent class. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added explicit Created 7 years, 10 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/mksnapshot.cc ('k') | src/profile-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 27 matching lines...) Expand all
38 class TokenEnumerator { 38 class TokenEnumerator {
39 public: 39 public:
40 TokenEnumerator(); 40 TokenEnumerator();
41 ~TokenEnumerator(); 41 ~TokenEnumerator();
42 int GetTokenId(Object* token); 42 int GetTokenId(Object* token);
43 43
44 static const int kNoSecurityToken = -1; 44 static const int kNoSecurityToken = -1;
45 static const int kInheritsSecurityToken = -2; 45 static const int kInheritsSecurityToken = -2;
46 46
47 private: 47 private:
48 static void TokenRemovedCallback(v8::Persistent<v8::Value> handle, 48 static void TokenRemovedCallback(v8::Isolate* isolate,
49 v8::Persistent<v8::Value> handle,
49 void* parameter); 50 void* parameter);
50 void TokenRemoved(Object** token_location); 51 void TokenRemoved(Object** token_location);
51 52
52 List<Object**> token_locations_; 53 List<Object**> token_locations_;
53 List<bool> token_removed_; 54 List<bool> token_removed_;
54 55
55 friend class TokenEnumeratorTester; 56 friend class TokenEnumeratorTester;
56 57
57 DISALLOW_COPY_AND_ASSIGN(TokenEnumerator); 58 DISALLOW_COPY_AND_ASSIGN(TokenEnumerator);
58 }; 59 };
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 1095
1095 friend class HeapSnapshotJSONSerializerEnumerator; 1096 friend class HeapSnapshotJSONSerializerEnumerator;
1096 friend class HeapSnapshotJSONSerializerIterator; 1097 friend class HeapSnapshotJSONSerializerIterator;
1097 1098
1098 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 1099 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
1099 }; 1100 };
1100 1101
1101 } } // namespace v8::internal 1102 } } // namespace v8::internal
1102 1103
1103 #endif // V8_PROFILE_GENERATOR_H_ 1104 #endif // V8_PROFILE_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/mksnapshot.cc ('k') | src/profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698