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

Side by Side Diff: src/code-stubs.h

Issue 9373028: Initial support for count-based profiling (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 8 years, 10 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 | « src/arm/full-codegen-arm.cc ('k') | src/execution.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 2011 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
11 // with the distribution. 11 // with the distribution.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 V(CompareIC) \ 48 V(CompareIC) \
49 V(MathPow) \ 49 V(MathPow) \
50 V(RecordWrite) \ 50 V(RecordWrite) \
51 V(StoreBufferOverflow) \ 51 V(StoreBufferOverflow) \
52 V(RegExpExec) \ 52 V(RegExpExec) \
53 V(TranscendentalCache) \ 53 V(TranscendentalCache) \
54 V(Instanceof) \ 54 V(Instanceof) \
55 V(ConvertToDouble) \ 55 V(ConvertToDouble) \
56 V(WriteInt32ToHeapNumber) \ 56 V(WriteInt32ToHeapNumber) \
57 V(StackCheck) \ 57 V(StackCheck) \
58 V(Interrupt) \
58 V(FastNewClosure) \ 59 V(FastNewClosure) \
59 V(FastNewContext) \ 60 V(FastNewContext) \
60 V(FastNewBlockContext) \ 61 V(FastNewBlockContext) \
61 V(FastCloneShallowArray) \ 62 V(FastCloneShallowArray) \
62 V(FastCloneShallowObject) \ 63 V(FastCloneShallowObject) \
63 V(ToBoolean) \ 64 V(ToBoolean) \
64 V(ToNumber) \ 65 V(ToNumber) \
65 V(ArgumentsAccess) \ 66 V(ArgumentsAccess) \
66 V(RegExpConstructResult) \ 67 V(RegExpConstructResult) \
67 V(NumberToString) \ 68 V(NumberToString) \
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 StackCheckStub() { } 291 StackCheckStub() { }
291 292
292 void Generate(MacroAssembler* masm); 293 void Generate(MacroAssembler* masm);
293 294
294 private: 295 private:
295 Major MajorKey() { return StackCheck; } 296 Major MajorKey() { return StackCheck; }
296 int MinorKey() { return 0; } 297 int MinorKey() { return 0; }
297 }; 298 };
298 299
299 300
301 class InterruptStub : public CodeStub {
302 public:
303 InterruptStub() { }
304
305 void Generate(MacroAssembler* masm);
306
307 private:
308 Major MajorKey() { return Interrupt; }
309 int MinorKey() { return 0; }
310 };
311
312
300 class ToNumberStub: public CodeStub { 313 class ToNumberStub: public CodeStub {
301 public: 314 public:
302 ToNumberStub() { } 315 ToNumberStub() { }
303 316
304 void Generate(MacroAssembler* masm); 317 void Generate(MacroAssembler* masm);
305 318
306 private: 319 private:
307 Major MajorKey() { return ToNumber; } 320 Major MajorKey() { return ToNumber; }
308 int MinorKey() { return 0; } 321 int MinorKey() { return 0; }
309 }; 322 };
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 int MinorKey() { return 0; } 1129 int MinorKey() { return 0; }
1117 1130
1118 void Generate(MacroAssembler* masm); 1131 void Generate(MacroAssembler* masm);
1119 1132
1120 DISALLOW_COPY_AND_ASSIGN(StoreArrayLiteralElementStub); 1133 DISALLOW_COPY_AND_ASSIGN(StoreArrayLiteralElementStub);
1121 }; 1134 };
1122 1135
1123 } } // namespace v8::internal 1136 } } // namespace v8::internal
1124 1137
1125 #endif // V8_CODE_STUBS_H_ 1138 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698