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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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(ClampTToUint8NoSSE2) \ 75 V(ClampTToUint8NoSSE2) \
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 492
492 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 493 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
493 DECLARE_HYDROGEN_ACCESSOR(CallStub) 494 DECLARE_HYDROGEN_ACCESSOR(CallStub)
494 495
495 TranscendentalCache::Type transcendental_type() { 496 TranscendentalCache::Type transcendental_type() {
496 return hydrogen()->transcendental_type(); 497 return hydrogen()->transcendental_type();
497 } 498 }
498 }; 499 };
499 500
500 501
502 class LCallExternal V8_FINAL : public LTemplateInstruction<0, 2, 0> {
503 public:
504 LCallExternal() { }
505 DECLARE_CONCRETE_INSTRUCTION(CallExternal, "call-external")
506 DECLARE_HYDROGEN_ACCESSOR(CallExternal)
507
508 int arity() const { return hydrogen()->argument_count(); }
509 ExternalReference external_reference() const {
510 return hydrogen()->external_reference();
511 }
512 };
513
514
501 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> { 515 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> {
502 public: 516 public:
503 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE { 517 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
504 return false; 518 return false;
505 } 519 }
506 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") 520 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
507 }; 521 };
508 522
509 523
510 template<int I, int T> 524 template<int I, int T>
(...skipping 2390 matching lines...) Expand 10 before | Expand all | Expand 10 after
2901 2915
2902 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2916 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2903 }; 2917 };
2904 2918
2905 #undef DECLARE_HYDROGEN_ACCESSOR 2919 #undef DECLARE_HYDROGEN_ACCESSOR
2906 #undef DECLARE_CONCRETE_INSTRUCTION 2920 #undef DECLARE_CONCRETE_INSTRUCTION
2907 2921
2908 } } // namespace v8::internal 2922 } } // namespace v8::internal
2909 2923
2910 #endif // V8_IA32_LITHIUM_IA32_H_ 2924 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698