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

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

Issue 17491002: Revert r14930 and r14935 temporarily. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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/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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 #define LITHIUM_ALL_INSTRUCTION_LIST(V) \ 43 #define LITHIUM_ALL_INSTRUCTION_LIST(V) \
44 V(ControlInstruction) \ 44 V(ControlInstruction) \
45 V(Call) \ 45 V(Call) \
46 LITHIUM_CONCRETE_INSTRUCTION_LIST(V) 46 LITHIUM_CONCRETE_INSTRUCTION_LIST(V)
47 47
48 48
49 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \ 49 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \
50 V(AccessArgumentsAt) \ 50 V(AccessArgumentsAt) \
51 V(AddI) \ 51 V(AddI) \
52 V(AllocateObject) \
52 V(Allocate) \ 53 V(Allocate) \
53 V(ApplyArguments) \ 54 V(ApplyArguments) \
54 V(ArgumentsElements) \ 55 V(ArgumentsElements) \
55 V(ArgumentsLength) \ 56 V(ArgumentsLength) \
56 V(ArithmeticD) \ 57 V(ArithmeticD) \
57 V(ArithmeticT) \ 58 V(ArithmeticT) \
58 V(BitI) \ 59 V(BitI) \
59 V(BitNotI) \ 60 V(BitNotI) \
60 V(BoundsCheck) \ 61 V(BoundsCheck) \
61 V(Branch) \ 62 V(Branch) \
(...skipping 2348 matching lines...) Expand 10 before | Expand all | Expand 10 after
2410 temps_[0] = temp; 2411 temps_[0] = temp;
2411 } 2412 }
2412 2413
2413 LOperand* unclamped() { return inputs_[0]; } 2414 LOperand* unclamped() { return inputs_[0]; }
2414 LOperand* temp() { return temps_[0]; } 2415 LOperand* temp() { return temps_[0]; }
2415 2416
2416 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") 2417 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
2417 }; 2418 };
2418 2419
2419 2420
2421 class LAllocateObject: public LTemplateInstruction<1, 1, 2> {
2422 public:
2423 LAllocateObject(LOperand* temp, LOperand* temp2) {
2424 temps_[0] = temp;
2425 temps_[1] = temp2;
2426 }
2427
2428 LOperand* temp() { return temps_[0]; }
2429 LOperand* temp2() { return temps_[1]; }
2430
2431 DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
2432 DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
2433 };
2434
2435
2420 class LAllocate: public LTemplateInstruction<1, 2, 2> { 2436 class LAllocate: public LTemplateInstruction<1, 2, 2> {
2421 public: 2437 public:
2422 LAllocate(LOperand* size, LOperand* temp1, LOperand* temp2) { 2438 LAllocate(LOperand* size, LOperand* temp1, LOperand* temp2) {
2423 inputs_[1] = size; 2439 inputs_[1] = size;
2424 temps_[0] = temp1; 2440 temps_[0] = temp1;
2425 temps_[1] = temp2; 2441 temps_[1] = temp2;
2426 } 2442 }
2427 2443
2428 LOperand* size() { return inputs_[1]; } 2444 LOperand* size() { return inputs_[1]; }
2429 LOperand* temp1() { return temps_[0]; } 2445 LOperand* temp1() { return temps_[0]; }
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
2804 2820
2805 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2821 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2806 }; 2822 };
2807 2823
2808 #undef DECLARE_HYDROGEN_ACCESSOR 2824 #undef DECLARE_HYDROGEN_ACCESSOR
2809 #undef DECLARE_CONCRETE_INSTRUCTION 2825 #undef DECLARE_CONCRETE_INSTRUCTION
2810 2826
2811 } } // namespace v8::internal 2827 } } // namespace v8::internal
2812 2828
2813 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2829 #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