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

Side by Side Diff: include/v8.h

Issue 11574031: Intel VTune integration for V8/D8 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Makefile ('k') | src/api.cc » ('j') | src/api.cc » ('J')
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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 * Returns the script id value. 757 * Returns the script id value.
758 */ 758 */
759 Local<Value> Id(); 759 Local<Value> Id();
760 760
761 /** 761 /**
762 * Associate an additional data object with the script. This is mainly used 762 * Associate an additional data object with the script. This is mainly used
763 * with the debugger as this data object is only available through the 763 * with the debugger as this data object is only available through the
764 * debugger API. 764 * debugger API.
765 */ 765 */
766 void SetData(Handle<String> data); 766 void SetData(Handle<String> data);
767
768 /**
769 * Returns the name value of one Script.
770 */
771 Handle<Value> GetScriptName();
772
773 /**
774 * Returns zero based line number of the code_pos location in the script.
775 * -1 will be returned if no information available.
776 */
777 int GetLineNumber(int code_pos);
767 }; 778 };
768 779
769 780
770 /** 781 /**
771 * An error message. 782 * An error message.
772 */ 783 */
773 class V8EXPORT Message { 784 class V8EXPORT Message {
774 public: 785 public:
775 Local<String> Get() const; 786 Local<String> Get() const;
776 Local<String> GetSourceLine() const; 787 Local<String> GetSourceLine() const;
(...skipping 4273 matching lines...) Expand 10 before | Expand all | Expand 10 after
5050 5061
5051 5062
5052 } // namespace v8 5063 } // namespace v8
5053 5064
5054 5065
5055 #undef V8EXPORT 5066 #undef V8EXPORT
5056 #undef TYPE_CHECK 5067 #undef TYPE_CHECK
5057 5068
5058 5069
5059 #endif // V8_H_ 5070 #endif // V8_H_
OLDNEW
« no previous file with comments | « Makefile ('k') | src/api.cc » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698