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/pending-compilation-error-handler.cc

Issue 2316443002: Include only stuff you need, part 8: Fix debug.h -> liveedit.h. (Closed)
Patch Set: code review (mstarzinger@) Created 4 years, 3 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 | « src/ic/stub-cache.cc ('k') | src/runtime/runtime-debug.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/pending-compilation-error-handler.h" 5 #include "src/pending-compilation-error-handler.h"
6 6
7 #include "src/ast/ast-value-factory.h"
7 #include "src/debug/debug.h" 8 #include "src/debug/debug.h"
8 #include "src/handles.h" 9 #include "src/handles.h"
9 #include "src/isolate.h" 10 #include "src/isolate.h"
10 #include "src/messages.h" 11 #include "src/messages.h"
11 12
12 namespace v8 { 13 namespace v8 {
13 namespace internal { 14 namespace internal {
14 15
15 void PendingCompilationErrorHandler::ThrowPendingError(Isolate* isolate, 16 void PendingCompilationErrorHandler::ThrowPendingError(Isolate* isolate,
16 Handle<Script> script) { 17 Handle<Script> script) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 handle(Smi::FromInt(location.end_pos()), isolate), 59 handle(Smi::FromInt(location.end_pos()), isolate),
59 SLOPPY).Check(); 60 SLOPPY).Check();
60 61
61 Handle<Name> key_script = factory->error_script_symbol(); 62 Handle<Name> key_script = factory->error_script_symbol();
62 JSObject::SetProperty(jserror, key_script, script, SLOPPY).Check(); 63 JSObject::SetProperty(jserror, key_script, script, SLOPPY).Check();
63 64
64 isolate->Throw(*error, &location); 65 isolate->Throw(*error, &location);
65 } 66 }
66 } // namespace internal 67 } // namespace internal
67 } // namespace v8 68 } // namespace v8
OLDNEW
« no previous file with comments | « src/ic/stub-cache.cc ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698