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

Side by Side Diff: src/api.cc

Issue 27046: Patch (SSE3) for faster To(U)Int32 conversion in bit (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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 | « no previous file | src/assembler-ia32.h » ('j') | src/v8.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 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 2157 matching lines...) Expand 10 before | Expand all | Expand 10 after
2168 obj->SetInternalField(index, *val); 2168 obj->SetInternalField(index, *val);
2169 } 2169 }
2170 2170
2171 2171
2172 // --- E n v i r o n m e n t --- 2172 // --- E n v i r o n m e n t ---
2173 2173
2174 bool v8::V8::Initialize() { 2174 bool v8::V8::Initialize() {
2175 if (i::V8::HasBeenSetup()) return true; 2175 if (i::V8::HasBeenSetup()) return true;
2176 HandleScope scope; 2176 HandleScope scope;
2177 if (i::Snapshot::Initialize()) { 2177 if (i::Snapshot::Initialize()) {
2178 i::Serializer::disable();
2179 return true; 2178 return true;
2180 } else { 2179 } else {
2181 return i::V8::Initialize(NULL); 2180 return i::V8::Initialize(NULL);
2182 } 2181 }
2183 } 2182 }
2184 2183
2185 2184
2186 const char* v8::V8::GetVersion() { 2185 const char* v8::V8::GetVersion() {
2187 return "1.0.3 (candidate)"; 2186 return "1.0.3 (candidate)";
2188 } 2187 }
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
3031 reinterpret_cast<HandleScopeImplementer*>(storage); 3030 reinterpret_cast<HandleScopeImplementer*>(storage);
3032 List<void**>* blocks_of_archived_thread = thread_local->Blocks(); 3031 List<void**>* blocks_of_archived_thread = thread_local->Blocks();
3033 v8::ImplementationUtilities::HandleScopeData* handle_data_of_archived_thread = 3032 v8::ImplementationUtilities::HandleScopeData* handle_data_of_archived_thread =
3034 &thread_local->handle_scope_data_; 3033 &thread_local->handle_scope_data_;
3035 Iterate(v, blocks_of_archived_thread, handle_data_of_archived_thread); 3034 Iterate(v, blocks_of_archived_thread, handle_data_of_archived_thread);
3036 3035
3037 return storage + ArchiveSpacePerThread(); 3036 return storage + ArchiveSpacePerThread();
3038 } 3037 }
3039 3038
3040 } } // namespace v8::internal 3039 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/assembler-ia32.h » ('j') | src/v8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698