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

Side by Side Diff: src/mips/lithium-mips.h

Issue 40153003: AllocationProfiler: Inital version of RecordObjectAllocation for hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips, ia32 and arm platforms were added Created 7 years, 1 month 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/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.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 // 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 V(CallConstantFunction) \ 55 V(CallConstantFunction) \
56 V(CallFunction) \ 56 V(CallFunction) \
57 V(CallGlobal) \ 57 V(CallGlobal) \
58 V(CallKeyed) \ 58 V(CallKeyed) \
59 V(CallKnownGlobal) \ 59 V(CallKnownGlobal) \
60 V(CallNamed) \ 60 V(CallNamed) \
61 V(CallNew) \ 61 V(CallNew) \
62 V(CallNewArray) \ 62 V(CallNewArray) \
63 V(CallRuntime) \ 63 V(CallRuntime) \
64 V(CallStub) \ 64 V(CallStub) \
65 V(CallExternal) \
65 V(CheckInstanceType) \ 66 V(CheckInstanceType) \
66 V(CheckMaps) \ 67 V(CheckMaps) \
67 V(CheckMapValue) \ 68 V(CheckMapValue) \
68 V(CheckNonSmi) \ 69 V(CheckNonSmi) \
69 V(CheckSmi) \ 70 V(CheckSmi) \
70 V(CheckValue) \ 71 V(CheckValue) \
71 V(ClampDToUint8) \ 72 V(ClampDToUint8) \
72 V(ClampIToUint8) \ 73 V(ClampIToUint8) \
73 V(ClampTToUint8) \ 74 V(ClampTToUint8) \
74 V(ClassOfTestAndBranch) \ 75 V(ClassOfTestAndBranch) \
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 481
481 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 482 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
482 DECLARE_HYDROGEN_ACCESSOR(CallStub) 483 DECLARE_HYDROGEN_ACCESSOR(CallStub)
483 484
484 TranscendentalCache::Type transcendental_type() { 485 TranscendentalCache::Type transcendental_type() {
485 return hydrogen()->transcendental_type(); 486 return hydrogen()->transcendental_type();
486 } 487 }
487 }; 488 };
488 489
489 490
491 class LCallExternal V8_FINAL : public LTemplateInstruction<0, 2, 0> {
492 public:
493 LCallExternal() { }
494 DECLARE_CONCRETE_INSTRUCTION(CallExternal, "call-external")
495 DECLARE_HYDROGEN_ACCESSOR(CallExternal)
496
497 int arity() const { return hydrogen()->argument_count(); }
498 ExternalReference external_reference() const {
499 return hydrogen()->external_reference();
500 }
501 };
502
503
490 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> { 504 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> {
491 public: 505 public:
492 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE { 506 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
493 return false; 507 return false;
494 } 508 }
495 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") 509 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
496 }; 510 };
497 511
498 512
499 template<int I, int T> 513 template<int I, int T>
(...skipping 2359 matching lines...) Expand 10 before | Expand all | Expand 10 after
2859 2873
2860 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2874 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2861 }; 2875 };
2862 2876
2863 #undef DECLARE_HYDROGEN_ACCESSOR 2877 #undef DECLARE_HYDROGEN_ACCESSOR
2864 #undef DECLARE_CONCRETE_INSTRUCTION 2878 #undef DECLARE_CONCRETE_INSTRUCTION
2865 2879
2866 } } // namespace v8::internal 2880 } } // namespace v8::internal
2867 2881
2868 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2882 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698