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

Side by Side Diff: src/api.cc

Issue 125133002: ARM: Enable the subnormal floats on QNX. Base URL: git://github.com/v8/v8.git@master
Patch Set: Rebaseline previous CL Created 6 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 | « samples/shell.cc ('k') | src/d8.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/api.h" 5 #include "src/api.h"
6 6
7 #include <string.h> // For memcpy, strlen. 7 #include <string.h> // For memcpy, strlen.
8 #ifdef V8_USE_ADDRESS_SANITIZER 8 #ifdef V8_USE_ADDRESS_SANITIZER
9 #include <sanitizer/asan_interface.h> 9 #include <sanitizer/asan_interface.h>
10 #endif // V8_USE_ADDRESS_SANITIZER 10 #endif // V8_USE_ADDRESS_SANITIZER
(...skipping 5047 matching lines...) Expand 10 before | Expand all | Expand 10 after
5058 } 5058 }
5059 5059
5060 5060
5061 int v8::V8::ContextDisposedNotification() { 5061 int v8::V8::ContextDisposedNotification() {
5062 i::Isolate* isolate = i::Isolate::Current(); 5062 i::Isolate* isolate = i::Isolate::Current();
5063 if (!isolate->IsInitialized()) return 0; 5063 if (!isolate->IsInitialized()) return 0;
5064 return isolate->heap()->NotifyContextDisposed(); 5064 return isolate->heap()->NotifyContextDisposed();
5065 } 5065 }
5066 5066
5067 5067
5068 void v8::V8::PerformPerThreadSetup() {
5069 i::OS::PerformPerThreadSetup();
5070 }
5071
5072
5068 bool v8::V8::InitializeICU(const char* icu_data_file) { 5073 bool v8::V8::InitializeICU(const char* icu_data_file) {
5069 return i::InitializeICU(icu_data_file); 5074 return i::InitializeICU(icu_data_file);
5070 } 5075 }
5071 5076
5072 5077
5073 const char* v8::V8::GetVersion() { 5078 const char* v8::V8::GetVersion() {
5074 return i::Version::GetVersion(); 5079 return i::Version::GetVersion();
5075 } 5080 }
5076 5081
5077 5082
(...skipping 2521 matching lines...) Expand 10 before | Expand all | Expand 10 after
7599 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); 7604 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate());
7600 Address callback_address = 7605 Address callback_address =
7601 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); 7606 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback));
7602 VMState<EXTERNAL> state(isolate); 7607 VMState<EXTERNAL> state(isolate);
7603 ExternalCallbackScope call_scope(isolate, callback_address); 7608 ExternalCallbackScope call_scope(isolate, callback_address);
7604 callback(info); 7609 callback(info);
7605 } 7610 }
7606 7611
7607 7612
7608 } } // namespace v8::internal 7613 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « samples/shell.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698