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

Side by Side Diff: src/counters.h

Issue 2308053002: Handle errors in v8::ValueDeserializer by throwing exceptions. (Closed)
Patch Set: minor cleanup 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/api.cc ('k') | src/messages.h » ('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_COUNTERS_H_ 5 #ifndef V8_COUNTERS_H_
6 #define V8_COUNTERS_H_ 6 #define V8_COUNTERS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 V(Uint16Array_New) \ 652 V(Uint16Array_New) \
653 V(Uint32Array_New) \ 653 V(Uint32Array_New) \
654 V(Uint8Array_New) \ 654 V(Uint8Array_New) \
655 V(Uint8ClampedArray_New) \ 655 V(Uint8ClampedArray_New) \
656 V(UnboundScript_GetId) \ 656 V(UnboundScript_GetId) \
657 V(UnboundScript_GetLineNumber) \ 657 V(UnboundScript_GetLineNumber) \
658 V(UnboundScript_GetName) \ 658 V(UnboundScript_GetName) \
659 V(UnboundScript_GetSourceMappingURL) \ 659 V(UnboundScript_GetSourceMappingURL) \
660 V(UnboundScript_GetSourceURL) \ 660 V(UnboundScript_GetSourceURL) \
661 V(Value_TypeOf) \ 661 V(Value_TypeOf) \
662 V(ValueDeserializer_ReadHeader) \
662 V(ValueDeserializer_ReadValue) \ 663 V(ValueDeserializer_ReadValue) \
663 V(ValueSerializer_WriteValue) 664 V(ValueSerializer_WriteValue)
664 665
665 #define FOR_EACH_MANUAL_COUNTER(V) \ 666 #define FOR_EACH_MANUAL_COUNTER(V) \
666 V(AccessorGetterCallback) \ 667 V(AccessorGetterCallback) \
667 V(AccessorNameGetterCallback) \ 668 V(AccessorNameGetterCallback) \
668 V(AccessorNameSetterCallback) \ 669 V(AccessorNameSetterCallback) \
669 V(Compile) \ 670 V(Compile) \
670 V(CompileCode) \ 671 V(CompileCode) \
671 V(CompileCodeLazy) \ 672 V(CompileCodeLazy) \
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 1241
1241 explicit Counters(Isolate* isolate); 1242 explicit Counters(Isolate* isolate);
1242 1243
1243 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 1244 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
1244 }; 1245 };
1245 1246
1246 } // namespace internal 1247 } // namespace internal
1247 } // namespace v8 1248 } // namespace v8
1248 1249
1249 #endif // V8_COUNTERS_H_ 1250 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698