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

Side by Side Diff: src/api.cc

Issue 2820016: API: Resolve linker issues with using V8 as a DLL... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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 | Annotate | Revision Log
« no previous file with comments | « include/v8.h ('k') | src/objects.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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // --- D a t a t h a t i s s p e c i f i c t o a t h r e a d --- 99 // --- D a t a t h a t i s s p e c i f i c t o a t h r e a d ---
100 100
101 101
102 static i::HandleScopeImplementer thread_local; 102 static i::HandleScopeImplementer thread_local;
103 103
104 104
105 // --- E x c e p t i o n B e h a v i o r --- 105 // --- E x c e p t i o n B e h a v i o r ---
106 106
107 107
108 static FatalErrorCallback exception_behavior = NULL; 108 static FatalErrorCallback exception_behavior = NULL;
109 int i::Internals::kJSObjectType = JS_OBJECT_TYPE;
110 int i::Internals::kFirstNonstringType = FIRST_NONSTRING_TYPE;
111 int i::Internals::kProxyType = PROXY_TYPE;
112 109
113 static void DefaultFatalErrorHandler(const char* location, 110 static void DefaultFatalErrorHandler(const char* location,
114 const char* message) { 111 const char* message) {
115 ENTER_V8; 112 ENTER_V8;
116 API_Fatal(location, message); 113 API_Fatal(location, message);
117 } 114 }
118 115
119 116
120 117
121 static FatalErrorCallback& GetFatalErrorHandler() { 118 static FatalErrorCallback& GetFatalErrorHandler() {
(...skipping 4594 matching lines...) Expand 10 before | Expand all | Expand 10 after
4716 4713
4717 4714
4718 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 4715 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
4719 HandleScopeImplementer* thread_local = 4716 HandleScopeImplementer* thread_local =
4720 reinterpret_cast<HandleScopeImplementer*>(storage); 4717 reinterpret_cast<HandleScopeImplementer*>(storage);
4721 thread_local->IterateThis(v); 4718 thread_local->IterateThis(v);
4722 return storage + ArchiveSpacePerThread(); 4719 return storage + ArchiveSpacePerThread();
4723 } 4720 }
4724 4721
4725 } } // namespace v8::internal 4722 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698