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

Side by Side Diff: src/isolate.h

Issue 1121453003: Revert of Wrap v8natives.js into a function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/i18n.js ('k') | src/isolate.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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include "include/v8-debug.h" 9 #include "include/v8-debug.h"
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 bool IsInternallyUsedPropertyName(Object* name); 742 bool IsInternallyUsedPropertyName(Object* name);
743 743
744 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback); 744 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback);
745 void ReportFailedAccessCheck(Handle<JSObject> receiver); 745 void ReportFailedAccessCheck(Handle<JSObject> receiver);
746 746
747 // Exception throwing support. The caller should use the result 747 // Exception throwing support. The caller should use the result
748 // of Throw() as its return value. 748 // of Throw() as its return value.
749 Object* Throw(Object* exception, MessageLocation* location = NULL); 749 Object* Throw(Object* exception, MessageLocation* location = NULL);
750 Object* ThrowIllegalOperation(); 750 Object* ThrowIllegalOperation();
751 751
752 void ReportBootstrappingException(Handle<Object> exception,
753 MessageLocation* location);
754
755 template <typename T> 752 template <typename T>
756 MUST_USE_RESULT MaybeHandle<T> Throw(Handle<Object> exception, 753 MUST_USE_RESULT MaybeHandle<T> Throw(Handle<Object> exception,
757 MessageLocation* location = NULL) { 754 MessageLocation* location = NULL) {
758 Throw(*exception, location); 755 Throw(*exception, location);
759 return MaybeHandle<T>(); 756 return MaybeHandle<T>();
760 } 757 }
761 758
762 // Re-throw an exception. This involves no error reporting since error 759 // Re-throw an exception. This involves no error reporting since error
763 // reporting was handled when the exception was thrown originally. 760 // reporting was handled when the exception was thrown originally.
764 Object* ReThrow(Object* exception); 761 Object* ReThrow(Object* exception);
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 } 1597 }
1601 1598
1602 EmbeddedVector<char, 128> filename_; 1599 EmbeddedVector<char, 128> filename_;
1603 FILE* file_; 1600 FILE* file_;
1604 int scope_depth_; 1601 int scope_depth_;
1605 }; 1602 };
1606 1603
1607 } } // namespace v8::internal 1604 } } // namespace v8::internal
1608 1605
1609 #endif // V8_ISOLATE_H_ 1606 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/i18n.js ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698