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

Side by Side Diff: src/crankshaft/hydrogen-instructions.h

Issue 2454513003: Revert of [compiler] Properly validate stable map assumption for globals. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/runtime/runtime-utils.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_
6 #define V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_
7 7
8 #include <cstring> 8 #include <cstring>
9 #include <iosfwd> 9 #include <iosfwd>
10 10
(...skipping 3078 matching lines...) Expand 10 before | Expand all | Expand 10 after
3089 3089
3090 class HConstant final : public HTemplateInstruction<0> { 3090 class HConstant final : public HTemplateInstruction<0> {
3091 public: 3091 public:
3092 enum Special { kHoleNaN }; 3092 enum Special { kHoleNaN };
3093 3093
3094 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, Special); 3094 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, Special);
3095 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, int32_t); 3095 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, int32_t);
3096 DECLARE_INSTRUCTION_FACTORY_P2(HConstant, int32_t, Representation); 3096 DECLARE_INSTRUCTION_FACTORY_P2(HConstant, int32_t, Representation);
3097 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, double); 3097 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, double);
3098 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, Handle<Object>); 3098 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, Handle<Object>);
3099 DECLARE_INSTRUCTION_FACTORY_P2(HConstant, Handle<Object>, Representation);
3100 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, ExternalReference); 3099 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, ExternalReference);
3101 3100
3102 static HConstant* CreateAndInsertAfter(Isolate* isolate, Zone* zone, 3101 static HConstant* CreateAndInsertAfter(Isolate* isolate, Zone* zone,
3103 HValue* context, int32_t value, 3102 HValue* context, int32_t value,
3104 Representation representation, 3103 Representation representation,
3105 HInstruction* instruction) { 3104 HInstruction* instruction) {
3106 return instruction->Append( 3105 return instruction->Append(
3107 HConstant::New(isolate, zone, context, value, representation)); 3106 HConstant::New(isolate, zone, context, value, representation));
3108 } 3107 }
3109 3108
(...skipping 3778 matching lines...) Expand 10 before | Expand all | Expand 10 after
6888 bool IsDeletable() const override { return true; } 6887 bool IsDeletable() const override { return true; }
6889 }; 6888 };
6890 6889
6891 #undef DECLARE_INSTRUCTION 6890 #undef DECLARE_INSTRUCTION
6892 #undef DECLARE_CONCRETE_INSTRUCTION 6891 #undef DECLARE_CONCRETE_INSTRUCTION
6893 6892
6894 } // namespace internal 6893 } // namespace internal
6895 } // namespace v8 6894 } // namespace v8
6896 6895
6897 #endif // V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ 6896 #endif // V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/runtime/runtime-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698