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

Side by Side Diff: src/ia32/lithium-ia32.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/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 26 matching lines...) Expand all
37 namespace v8 { 37 namespace v8 {
38 namespace internal { 38 namespace internal {
39 39
40 // Forward declarations. 40 // Forward declarations.
41 class LCodeGen; 41 class LCodeGen;
42 42
43 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \ 43 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \
44 V(AccessArgumentsAt) \ 44 V(AccessArgumentsAt) \
45 V(AddI) \ 45 V(AddI) \
46 V(Allocate) \ 46 V(Allocate) \
47 V(AllocateObject) \
47 V(ApplyArguments) \ 48 V(ApplyArguments) \
48 V(ArgumentsElements) \ 49 V(ArgumentsElements) \
49 V(ArgumentsLength) \ 50 V(ArgumentsLength) \
50 V(ArithmeticD) \ 51 V(ArithmeticD) \
51 V(ArithmeticT) \ 52 V(ArithmeticT) \
52 V(BitI) \ 53 V(BitI) \
53 V(BitNotI) \ 54 V(BitNotI) \
54 V(BoundsCheck) \ 55 V(BoundsCheck) \
55 V(Branch) \ 56 V(Branch) \
56 V(CallConstantFunction) \ 57 V(CallConstantFunction) \
(...skipping 2487 matching lines...) Expand 10 before | Expand all | Expand 10 after
2544 explicit LCheckNonSmi(LOperand* value) { 2545 explicit LCheckNonSmi(LOperand* value) {
2545 inputs_[0] = value; 2546 inputs_[0] = value;
2546 } 2547 }
2547 2548
2548 LOperand* value() { return inputs_[0]; } 2549 LOperand* value() { return inputs_[0]; }
2549 2550
2550 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") 2551 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
2551 }; 2552 };
2552 2553
2553 2554
2555 class LAllocateObject: public LTemplateInstruction<1, 1, 1> {
2556 public:
2557 LAllocateObject(LOperand* context, LOperand* temp) {
2558 inputs_[0] = context;
2559 temps_[0] = temp;
2560 }
2561
2562 LOperand* context() { return inputs_[0]; }
2563 LOperand* temp() { return temps_[0]; }
2564
2565 DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
2566 DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
2567 };
2568
2569
2554 class LAllocate: public LTemplateInstruction<1, 2, 1> { 2570 class LAllocate: public LTemplateInstruction<1, 2, 1> {
2555 public: 2571 public:
2556 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { 2572 LAllocate(LOperand* context, LOperand* size, LOperand* temp) {
2557 inputs_[0] = context; 2573 inputs_[0] = context;
2558 inputs_[1] = size; 2574 inputs_[1] = size;
2559 temps_[0] = temp; 2575 temps_[0] = temp;
2560 } 2576 }
2561 2577
2562 LOperand* context() { return inputs_[0]; } 2578 LOperand* context() { return inputs_[0]; }
2563 LOperand* size() { return inputs_[1]; } 2579 LOperand* size() { return inputs_[1]; }
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
2963 2979
2964 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2980 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2965 }; 2981 };
2966 2982
2967 #undef DECLARE_HYDROGEN_ACCESSOR 2983 #undef DECLARE_HYDROGEN_ACCESSOR
2968 #undef DECLARE_CONCRETE_INSTRUCTION 2984 #undef DECLARE_CONCRETE_INSTRUCTION
2969 2985
2970 } } // namespace v8::internal 2986 } } // namespace v8::internal
2971 2987
2972 #endif // V8_IA32_LITHIUM_IA32_H_ 2988 #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