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

Side by Side Diff: src/api.cc

Issue 3043007: [Isolates] Fix compile under Win32 and presumably for FreeBSD, OpenBS... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 10 years, 5 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 | « no previous file | src/platform-freebsd.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 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 3935 matching lines...) Expand 10 before | Expand all | Expand 10 after
3946 bool V8::IsExecutionTerminating() { 3946 bool V8::IsExecutionTerminating() {
3947 if (!i::V8::IsRunning()) return false; 3947 if (!i::V8::IsRunning()) return false;
3948 if (i::Isolate::Current()->has_scheduled_exception()) { 3948 if (i::Isolate::Current()->has_scheduled_exception()) {
3949 return i::Isolate::Current()->scheduled_exception() == 3949 return i::Isolate::Current()->scheduled_exception() ==
3950 HEAP->termination_exception(); 3950 HEAP->termination_exception();
3951 } 3951 }
3952 return false; 3952 return false;
3953 } 3953 }
3954 3954
3955 3955
3956 Isolate::Isolate* New() { 3956 Isolate* Isolate::New() {
3957 UNIMPLEMENTED(); 3957 UNIMPLEMENTED();
3958 return NULL; 3958 return NULL;
3959 } 3959 }
3960 3960
3961 3961
3962 Isolate::Isolate* GetCurrent() { 3962 Isolate* Isolate::GetCurrent() {
3963 UNIMPLEMENTED(); 3963 UNIMPLEMENTED();
3964 return NULL; 3964 return NULL;
3965 } 3965 }
3966 3966
3967 3967
3968 void Isolate::Enter() { 3968 void Isolate::Enter() {
3969 UNIMPLEMENTED(); 3969 UNIMPLEMENTED();
3970 } 3970 }
3971 3971
3972 3972
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
4763 4763
4764 4764
4765 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 4765 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
4766 HandleScopeImplementer* thread_local = 4766 HandleScopeImplementer* thread_local =
4767 reinterpret_cast<HandleScopeImplementer*>(storage); 4767 reinterpret_cast<HandleScopeImplementer*>(storage);
4768 thread_local->IterateThis(v); 4768 thread_local->IterateThis(v);
4769 return storage + ArchiveSpacePerThread(); 4769 return storage + ArchiveSpacePerThread();
4770 } 4770 }
4771 4771
4772 } } // namespace v8::internal 4772 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/platform-freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698