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

Side by Side Diff: src/api.cc

Issue 2593001: [Isolates] Make lint happy. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « no previous file | src/heap.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 3032 matching lines...) Expand 10 before | Expand all | Expand 10 after
3043 if (!proxy.is_null()) 3043 if (!proxy.is_null())
3044 Utils::OpenHandle(this)->SetInternalField(index, *proxy); 3044 Utils::OpenHandle(this)->SetInternalField(index, *proxy);
3045 } 3045 }
3046 3046
3047 3047
3048 // --- E n v i r o n m e n t --- 3048 // --- E n v i r o n m e n t ---
3049 3049
3050 bool v8::V8::Initialize() { 3050 bool v8::V8::Initialize() {
3051 if (i::V8::IsRunning()) return true; 3051 if (i::V8::IsRunning()) return true;
3052 ENTER_V8; 3052 ENTER_V8;
3053 if(i::Snapshot::Initialize()) return true; 3053 if (i::Snapshot::Initialize()) return true;
3054 return i::V8::Initialize(NULL); 3054 return i::V8::Initialize(NULL);
3055 } 3055 }
3056 3056
3057 3057
3058 bool v8::V8::Dispose() { 3058 bool v8::V8::Dispose() {
3059 i::V8::TearDown(); 3059 i::V8::TearDown();
3060 return true; 3060 return true;
3061 } 3061 }
3062 3062
3063 3063
(...skipping 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after
4433 4433
4434 4434
4435 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 4435 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
4436 HandleScopeImplementer* thread_local = 4436 HandleScopeImplementer* thread_local =
4437 reinterpret_cast<HandleScopeImplementer*>(storage); 4437 reinterpret_cast<HandleScopeImplementer*>(storage);
4438 thread_local->IterateThis(v); 4438 thread_local->IterateThis(v);
4439 return storage + ArchiveSpacePerThread(); 4439 return storage + ArchiveSpacePerThread();
4440 } 4440 }
4441 4441
4442 } } // namespace v8::internal 4442 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698