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

Side by Side Diff: src/api.cc

Issue 6661022: ARM: Port r7089 to ARM... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 5111 matching lines...) Expand 10 before | Expand all | Expand 10 after
5122 SetFlagsFromString(kForcedOptimizations); 5122 SetFlagsFromString(kForcedOptimizations);
5123 } else if (run == GetStressRuns() - 2) { 5123 } else if (run == GetStressRuns() - 2) {
5124 SetFlagsFromString(kEagerOptimizations); 5124 SetFlagsFromString(kEagerOptimizations);
5125 } else { 5125 } else {
5126 SetFlagsFromString(kLazyOptimizations); 5126 SetFlagsFromString(kLazyOptimizations);
5127 } 5127 }
5128 #endif 5128 #endif
5129 } 5129 }
5130 5130
5131 5131
5132 void Testing::DeoptimizeAll() {
5133 internal::Deoptimizer::DeoptimizeAll();
5134 }
5135
5136
5132 namespace internal { 5137 namespace internal {
5133 5138
5134 5139
5135 HandleScopeImplementer* HandleScopeImplementer::instance() { 5140 HandleScopeImplementer* HandleScopeImplementer::instance() {
5136 return &thread_local; 5141 return &thread_local;
5137 } 5142 }
5138 5143
5139 5144
5140 void HandleScopeImplementer::FreeThreadResources() { 5145 void HandleScopeImplementer::FreeThreadResources() {
5141 thread_local.Free(); 5146 thread_local.Free();
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
5205 5210
5206 5211
5207 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 5212 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
5208 HandleScopeImplementer* thread_local = 5213 HandleScopeImplementer* thread_local =
5209 reinterpret_cast<HandleScopeImplementer*>(storage); 5214 reinterpret_cast<HandleScopeImplementer*>(storage);
5210 thread_local->IterateThis(v); 5215 thread_local->IterateThis(v);
5211 return storage + ArchiveSpacePerThread(); 5216 return storage + ArchiveSpacePerThread();
5212 } 5217 }
5213 5218
5214 } } // namespace v8::internal 5219 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698