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

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

Issue 23697002: Implement proper map checks of captured objects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Toon Verwaest. Created 7 years, 3 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 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(CheckFunction) \
66 V(CheckInstanceType) \ 65 V(CheckInstanceType) \
67 V(CheckMaps) \ 66 V(CheckMaps) \
68 V(CheckMapValue) \ 67 V(CheckMapValue) \
69 V(CheckNonSmi) \ 68 V(CheckNonSmi) \
70 V(CheckSmi) \ 69 V(CheckSmi) \
70 V(CheckValue) \
71 V(ClampDToUint8) \ 71 V(ClampDToUint8) \
72 V(ClampIToUint8) \ 72 V(ClampIToUint8) \
73 V(ClampTToUint8) \ 73 V(ClampTToUint8) \
74 V(ClassOfTestAndBranch) \ 74 V(ClassOfTestAndBranch) \
75 V(CompareNumericAndBranch) \ 75 V(CompareNumericAndBranch) \
76 V(CmpObjectEqAndBranch) \ 76 V(CmpObjectEqAndBranch) \
77 V(CmpHoleAndBranch) \ 77 V(CmpHoleAndBranch) \
78 V(CmpMapAndBranch) \ 78 V(CmpMapAndBranch) \
79 V(CmpT) \ 79 V(CmpT) \
80 V(ConstantD) \ 80 V(ConstantD) \
(...skipping 2215 matching lines...) Expand 10 before | Expand all | Expand 10 after
2296 inputs_[0] = char_code; 2296 inputs_[0] = char_code;
2297 } 2297 }
2298 2298
2299 LOperand* char_code() { return inputs_[0]; } 2299 LOperand* char_code() { return inputs_[0]; }
2300 2300
2301 DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code") 2301 DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code")
2302 DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode) 2302 DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode)
2303 }; 2303 };
2304 2304
2305 2305
2306 class LCheckFunction V8_FINAL : public LTemplateInstruction<0, 1, 0> { 2306 class LCheckValue V8_FINAL : public LTemplateInstruction<0, 1, 0> {
2307 public: 2307 public:
2308 explicit LCheckFunction(LOperand* value) { 2308 explicit LCheckValue(LOperand* value) {
2309 inputs_[0] = value; 2309 inputs_[0] = value;
2310 } 2310 }
2311 2311
2312 LOperand* value() { return inputs_[0]; } 2312 LOperand* value() { return inputs_[0]; }
2313 2313
2314 DECLARE_CONCRETE_INSTRUCTION(CheckFunction, "check-function") 2314 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value")
2315 DECLARE_HYDROGEN_ACCESSOR(CheckFunction) 2315 DECLARE_HYDROGEN_ACCESSOR(CheckValue)
2316 }; 2316 };
2317 2317
2318 2318
2319 class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 0> { 2319 class LCheckInstanceType V8_FINAL : public LTemplateInstruction<0, 1, 0> {
2320 public: 2320 public:
2321 explicit LCheckInstanceType(LOperand* value) { 2321 explicit LCheckInstanceType(LOperand* value) {
2322 inputs_[0] = value; 2322 inputs_[0] = value;
2323 } 2323 }
2324 2324
2325 LOperand* value() { return inputs_[0]; } 2325 LOperand* value() { return inputs_[0]; }
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
2753 2753
2754 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2754 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2755 }; 2755 };
2756 2756
2757 #undef DECLARE_HYDROGEN_ACCESSOR 2757 #undef DECLARE_HYDROGEN_ACCESSOR
2758 #undef DECLARE_CONCRETE_INSTRUCTION 2758 #undef DECLARE_CONCRETE_INSTRUCTION
2759 2759
2760 } } // namespace v8::internal 2760 } } // namespace v8::internal
2761 2761
2762 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2762 #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