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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 public: 477 public:
477 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 478 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
478 DECLARE_HYDROGEN_ACCESSOR(CallStub) 479 DECLARE_HYDROGEN_ACCESSOR(CallStub)
479 480
480 TranscendentalCache::Type transcendental_type() { 481 TranscendentalCache::Type transcendental_type() {
481 return hydrogen()->transcendental_type(); 482 return hydrogen()->transcendental_type();
482 } 483 }
483 }; 484 };
484 485
485 486
487 class LCallExternal V8_FINAL : public LTemplateInstruction<0, 2, 0> {
488 public:
489 LCallExternal() { }
490 DECLARE_CONCRETE_INSTRUCTION(CallExternal, "call-external")
491 DECLARE_HYDROGEN_ACCESSOR(CallExternal)
492
493 int arity() const { return hydrogen()->argument_count(); }
494 ExternalReference external_reference() const {
495 return hydrogen()->external_reference();
496 }
497 };
498
499
486 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> { 500 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> {
487 public: 501 public:
488 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE { 502 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
489 return false; 503 return false;
490 } 504 }
491 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") 505 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
492 }; 506 };
493 507
494 508
495 template<int I, int T> 509 template<int I, int T>
(...skipping 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after
2697 2711
2698 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2712 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2699 }; 2713 };
2700 2714
2701 #undef DECLARE_HYDROGEN_ACCESSOR 2715 #undef DECLARE_HYDROGEN_ACCESSOR
2702 #undef DECLARE_CONCRETE_INSTRUCTION 2716 #undef DECLARE_CONCRETE_INSTRUCTION
2703 2717
2704 } } // namespace v8::int 2718 } } // namespace v8::int
2705 2719
2706 #endif // V8_X64_LITHIUM_X64_H_ 2720 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698