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

Side by Side Diff: src/v8.cc

Issue 11418149: Faster implementation of Math.exp() (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Win build Created 8 years 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 | « src/runtime.cc ('k') | src/x64/assembler-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 if (!has_been_set_up_ || has_been_disposed_) return; 108 if (!has_been_set_up_ || has_been_disposed_) return;
109 109
110 // The isolate has to be torn down before clearing the LOperand 110 // The isolate has to be torn down before clearing the LOperand
111 // caches so that the optimizing compiler thread (if running) 111 // caches so that the optimizing compiler thread (if running)
112 // doesn't see an inconsistent view of the lithium instructions. 112 // doesn't see an inconsistent view of the lithium instructions.
113 isolate->TearDown(); 113 isolate->TearDown();
114 delete isolate; 114 delete isolate;
115 115
116 ElementsAccessor::TearDown(); 116 ElementsAccessor::TearDown();
117 LOperand::TearDownCaches(); 117 LOperand::TearDownCaches();
118 ExternalReference::TearDownMathExpData();
118 RegisteredExtension::UnregisterAll(); 119 RegisteredExtension::UnregisterAll();
119 120
120 is_running_ = false; 121 is_running_ = false;
121 has_been_disposed_ = true; 122 has_been_disposed_ = true;
122 123
123 delete call_completed_callbacks_; 124 delete call_completed_callbacks_;
124 call_completed_callbacks_ = NULL; 125 call_completed_callbacks_ = NULL;
125 126
126 OS::TearDown(); 127 OS::TearDown();
127 } 128 }
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 SetUpJSCallerSavedCodeData(); 292 SetUpJSCallerSavedCodeData();
292 SamplerRegistry::SetUp(); 293 SamplerRegistry::SetUp();
293 ExternalReference::SetUp(); 294 ExternalReference::SetUp();
294 } 295 }
295 296
296 void V8::InitializeOncePerProcess() { 297 void V8::InitializeOncePerProcess() {
297 CallOnce(&init_once, &InitializeOncePerProcessImpl); 298 CallOnce(&init_once, &InitializeOncePerProcessImpl);
298 } 299 }
299 300
300 } } // namespace v8::internal 301 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698