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

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

Issue 14847013: Remove obsolete HArrayLiteral instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Ulan Degenbaev. Created 7 years, 7 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/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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(Allocate) \ 52 V(Allocate) \
53 V(AllocateObject) \ 53 V(AllocateObject) \
54 V(ApplyArguments) \ 54 V(ApplyArguments) \
55 V(ArgumentsElements) \ 55 V(ArgumentsElements) \
56 V(ArgumentsLength) \ 56 V(ArgumentsLength) \
57 V(ArithmeticD) \ 57 V(ArithmeticD) \
58 V(ArithmeticT) \ 58 V(ArithmeticT) \
59 V(ArrayLiteral) \
60 V(BitI) \ 59 V(BitI) \
61 V(BitNotI) \ 60 V(BitNotI) \
62 V(BoundsCheck) \ 61 V(BoundsCheck) \
63 V(Branch) \ 62 V(Branch) \
64 V(CallConstantFunction) \ 63 V(CallConstantFunction) \
65 V(CallFunction) \ 64 V(CallFunction) \
66 V(CallGlobal) \ 65 V(CallGlobal) \
67 V(CallKeyed) \ 66 V(CallKeyed) \
68 V(CallKnownGlobal) \ 67 V(CallKnownGlobal) \
69 V(CallNamed) \ 68 V(CallNamed) \
(...skipping 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after
2366 } 2365 }
2367 2366
2368 LOperand* size() { return inputs_[0]; } 2367 LOperand* size() { return inputs_[0]; }
2369 LOperand* temp() { return temps_[0]; } 2368 LOperand* temp() { return temps_[0]; }
2370 2369
2371 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") 2370 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate")
2372 DECLARE_HYDROGEN_ACCESSOR(Allocate) 2371 DECLARE_HYDROGEN_ACCESSOR(Allocate)
2373 }; 2372 };
2374 2373
2375 2374
2376 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
2377 public:
2378 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
2379 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
2380 };
2381
2382
2383 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { 2375 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> {
2384 public: 2376 public:
2385 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") 2377 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
2386 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) 2378 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
2387 }; 2379 };
2388 2380
2389 2381
2390 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { 2382 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> {
2391 public: 2383 public:
2392 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") 2384 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
2738 2730
2739 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2731 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2740 }; 2732 };
2741 2733
2742 #undef DECLARE_HYDROGEN_ACCESSOR 2734 #undef DECLARE_HYDROGEN_ACCESSOR
2743 #undef DECLARE_CONCRETE_INSTRUCTION 2735 #undef DECLARE_CONCRETE_INSTRUCTION
2744 2736
2745 } } // namespace v8::int 2737 } } // namespace v8::int
2746 2738
2747 #endif // V8_X64_LITHIUM_X64_H_ 2739 #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