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

Side by Side Diff: src/compiler/js-operator.h

Issue 1284013003: [turbofan] LoadGlobalParameters::slot_index() should just return an int. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_JS_OPERATOR_H_ 5 #ifndef V8_COMPILER_JS_OPERATOR_H_
6 #define V8_COMPILER_JS_OPERATOR_H_ 6 #define V8_COMPILER_JS_OPERATOR_H_
7 7
8 #include "src/runtime/runtime.h" 8 #include "src/runtime/runtime.h"
9 #include "src/unique.h" 9 #include "src/unique.h"
10 10
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 : name_(name), 270 : name_(name),
271 feedback_(feedback), 271 feedback_(feedback),
272 typeof_mode_(typeof_mode), 272 typeof_mode_(typeof_mode),
273 slot_index_(slot_index) {} 273 slot_index_(slot_index) {}
274 274
275 const Unique<Name>& name() const { return name_; } 275 const Unique<Name>& name() const { return name_; }
276 TypeofMode typeof_mode() const { return typeof_mode_; } 276 TypeofMode typeof_mode() const { return typeof_mode_; }
277 277
278 const VectorSlotPair& feedback() const { return feedback_; } 278 const VectorSlotPair& feedback() const { return feedback_; }
279 279
280 const int slot_index() const { return slot_index_; } 280 int slot_index() const { return slot_index_; }
281 281
282 private: 282 private:
283 const Unique<Name> name_; 283 const Unique<Name> name_;
284 const VectorSlotPair feedback_; 284 const VectorSlotPair feedback_;
285 const TypeofMode typeof_mode_; 285 const TypeofMode typeof_mode_;
286 const int slot_index_; 286 const int slot_index_;
287 }; 287 };
288 288
289 bool operator==(LoadGlobalParameters const&, LoadGlobalParameters const&); 289 bool operator==(LoadGlobalParameters const&, LoadGlobalParameters const&);
290 bool operator!=(LoadGlobalParameters const&, LoadGlobalParameters const&); 290 bool operator!=(LoadGlobalParameters const&, LoadGlobalParameters const&);
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 Zone* const zone_; 547 Zone* const zone_;
548 548
549 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 549 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
550 }; 550 };
551 551
552 } // namespace compiler 552 } // namespace compiler
553 } // namespace internal 553 } // namespace internal
554 } // namespace v8 554 } // namespace v8
555 555
556 #endif // V8_COMPILER_JS_OPERATOR_H_ 556 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698