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

Side by Side Diff: src/isolate.h

Issue 264333007: Add OnCompileError handler and v8::CompileError debug event (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 6 years, 7 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
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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include "../include/v8-debug.h" 8 #include "../include/v8-debug.h"
9 #include "allocation.h" 9 #include "allocation.h"
10 #include "assert-scope.h" 10 #include "assert-scope.h"
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 1178
1179 void FillCache(); 1179 void FillCache();
1180 1180
1181 void PropagatePendingExceptionToExternalTryCatch(); 1181 void PropagatePendingExceptionToExternalTryCatch();
1182 1182
1183 void InitializeDebugger(); 1183 void InitializeDebugger();
1184 1184
1185 // Traverse prototype chain to find out whether the object is derived from 1185 // Traverse prototype chain to find out whether the object is derived from
1186 // the Error object. 1186 // the Error object.
1187 bool IsErrorObject(Handle<Object> obj); 1187 bool IsErrorObject(Handle<Object> obj);
1188 bool IsSyntaxErrorObject(Handle<Object> obj);
1189 bool IsTypeObject(Handle<Object> obj, Handle<String> key);
1188 1190
1189 Atomic32 id_; 1191 Atomic32 id_;
1190 EntryStackItem* entry_stack_; 1192 EntryStackItem* entry_stack_;
1191 int stack_trace_nesting_level_; 1193 int stack_trace_nesting_level_;
1192 StringStream* incomplete_message_; 1194 StringStream* incomplete_message_;
1193 Address isolate_addresses_[kIsolateAddressCount + 1]; // NOLINT 1195 Address isolate_addresses_[kIsolateAddressCount + 1]; // NOLINT
1194 Bootstrapper* bootstrapper_; 1196 Bootstrapper* bootstrapper_;
1195 RuntimeProfiler* runtime_profiler_; 1197 RuntimeProfiler* runtime_profiler_;
1196 CompilationCache* compilation_cache_; 1198 CompilationCache* compilation_cache_;
1197 Counters* counters_; 1199 Counters* counters_;
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 } 1493 }
1492 1494
1493 EmbeddedVector<char, 128> filename_; 1495 EmbeddedVector<char, 128> filename_;
1494 FILE* file_; 1496 FILE* file_;
1495 int scope_depth_; 1497 int scope_depth_;
1496 }; 1498 };
1497 1499
1498 } } // namespace v8::internal 1500 } } // namespace v8::internal
1499 1501
1500 #endif // V8_ISOLATE_H_ 1502 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698