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

Side by Side Diff: src/arm/lithium-arm.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 | « no previous file | src/arm/lithium-arm.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(CheckNonSmi) \ 67 V(CheckNonSmi) \
67 V(CheckMaps) \ 68 V(CheckMaps) \
68 V(CheckMapValue) \ 69 V(CheckMapValue) \
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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 482
482 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 483 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
483 DECLARE_HYDROGEN_ACCESSOR(CallStub) 484 DECLARE_HYDROGEN_ACCESSOR(CallStub)
484 485
485 TranscendentalCache::Type transcendental_type() { 486 TranscendentalCache::Type transcendental_type() {
486 return hydrogen()->transcendental_type(); 487 return hydrogen()->transcendental_type();
487 } 488 }
488 }; 489 };
489 490
490 491
492 class LCallExternal V8_FINAL : public LTemplateInstruction<0, 2, 0> {
493 public:
494 LCallExternal() { }
495 DECLARE_CONCRETE_INSTRUCTION(CallExternal, "call-external")
496 DECLARE_HYDROGEN_ACCESSOR(CallExternal)
497
498 int arity() const { return hydrogen()->argument_count(); }
499 ExternalReference external_reference() const {
500 return hydrogen()->external_reference();
501 }
502 };
503
504
491 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> { 505 class LUnknownOSRValue V8_FINAL : public LTemplateInstruction<1, 0, 0> {
492 public: 506 public:
493 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE { 507 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
494 return false; 508 return false;
495 } 509 }
496 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") 510 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
497 }; 511 };
498 512
499 513
500 template<int I, int T> 514 template<int I, int T>
(...skipping 2385 matching lines...) Expand 10 before | Expand all | Expand 10 after
2886 2900
2887 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2901 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2888 }; 2902 };
2889 2903
2890 #undef DECLARE_HYDROGEN_ACCESSOR 2904 #undef DECLARE_HYDROGEN_ACCESSOR
2891 #undef DECLARE_CONCRETE_INSTRUCTION 2905 #undef DECLARE_CONCRETE_INSTRUCTION
2892 2906
2893 } } // namespace v8::internal 2907 } } // namespace v8::internal
2894 2908
2895 #endif // V8_ARM_LITHIUM_ARM_H_ 2909 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698