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

Side by Side Diff: src/d8-debug.cc

Issue 669373002: pass isolate to Value::To* functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 6 years, 1 month 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/d8.cc ('k') | src/extensions/statistics-extension.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/d8.h" 5 #include "src/d8.h"
6 #include "src/d8-debug.h" 6 #include "src/d8-debug.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 9
10 void PrintPrompt(bool is_running) { 10 void PrintPrompt(bool is_running) {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 if (try_catch.HasCaught()) { 117 if (try_catch.HasCaught()) {
118 Shell::ReportException(isolate, &try_catch); 118 Shell::ReportException(isolate, &try_catch);
119 continue; 119 continue;
120 } 120 }
121 String::Utf8Value text_str( 121 String::Utf8Value text_str(
122 response_details->Get(String::NewFromUtf8(isolate, "text"))); 122 response_details->Get(String::NewFromUtf8(isolate, "text")));
123 if (text_str.length() > 0) { 123 if (text_str.length() > 0) {
124 printf("%s\n", *text_str); 124 printf("%s\n", *text_str);
125 } 125 }
126 running = response_details->Get(String::NewFromUtf8(isolate, "running")) 126 running = response_details->Get(String::NewFromUtf8(isolate, "running"))
127 ->ToBoolean() 127 ->ToBoolean(isolate)
128 ->Value(); 128 ->Value();
129 } 129 }
130 } 130 }
131 131
132 } // namespace v8 132 } // namespace v8
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/extensions/statistics-extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698