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

Side by Side Diff: src/execution.cc

Issue 650823002: Fix build failure. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/execution.h" 5 #include "src/execution.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/isolate-inl.h" 10 #include "src/isolate-inl.h"
(...skipping 16 matching lines...) Expand all
27 27
28 28
29 void StackGuard::reset_limits(const ExecutionAccess& lock) { 29 void StackGuard::reset_limits(const ExecutionAccess& lock) {
30 DCHECK(isolate_ != NULL); 30 DCHECK(isolate_ != NULL);
31 thread_local_.jslimit_ = thread_local_.real_jslimit_; 31 thread_local_.jslimit_ = thread_local_.real_jslimit_;
32 thread_local_.climit_ = thread_local_.real_climit_; 32 thread_local_.climit_ = thread_local_.real_climit_;
33 isolate_->heap()->SetStackLimits(); 33 isolate_->heap()->SetStackLimits();
34 } 34 }
35 35
36 36
37 static PrintDeserializedCodeInfo(Handle<JSFunction> function) { 37 static void PrintDeserializedCodeInfo(Handle<JSFunction> function) {
38 if (function->code() == function->shared()->code() && 38 if (function->code() == function->shared()->code() &&
39 function->shared()->deserialized()) { 39 function->shared()->deserialized()) {
40 PrintF("Running deserialized script: "); 40 PrintF("Running deserialized script: ");
41 Object* script = function->shared()->script(); 41 Object* script = function->shared()->script();
42 if (script->IsScript()) { 42 if (script->IsScript()) {
43 Script::cast(script)->name()->ShortPrint(); 43 Script::cast(script)->name()->ShortPrint();
44 } else { 44 } else {
45 function->shared()->script()->ShortPrint(); 45 function->shared()->script()->ShortPrint();
46 } 46 }
47 PrintF("\n"); 47 PrintF("\n");
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 } 716 }
717 717
718 isolate_->counters()->stack_interrupts()->Increment(); 718 isolate_->counters()->stack_interrupts()->Increment();
719 isolate_->counters()->runtime_profiler_ticks()->Increment(); 719 isolate_->counters()->runtime_profiler_ticks()->Increment();
720 isolate_->runtime_profiler()->OptimizeNow(); 720 isolate_->runtime_profiler()->OptimizeNow();
721 721
722 return isolate_->heap()->undefined_value(); 722 return isolate_->heap()->undefined_value();
723 } 723 }
724 724
725 } } // namespace v8::internal 725 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698