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

Side by Side Diff: src/objects.h

Issue 277913002: Presubmit checks recover. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebasing Created 6 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/mips/simulator-mips.cc ('k') | src/preparse-data.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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "assert-scope.h" 9 #include "assert-scope.h"
10 #include "builtins.h" 10 #include "builtins.h"
(...skipping 5068 matching lines...) Expand 10 before | Expand all | Expand 10 after
5079 5079
5080 DECLARE_PRINTER(FixedTypedArray) 5080 DECLARE_PRINTER(FixedTypedArray)
5081 DECLARE_VERIFIER(FixedTypedArray) 5081 DECLARE_VERIFIER(FixedTypedArray)
5082 5082
5083 private: 5083 private:
5084 DISALLOW_IMPLICIT_CONSTRUCTORS(FixedTypedArray); 5084 DISALLOW_IMPLICIT_CONSTRUCTORS(FixedTypedArray);
5085 }; 5085 };
5086 5086
5087 #define FIXED_TYPED_ARRAY_TRAITS(Type, type, TYPE, elementType, size) \ 5087 #define FIXED_TYPED_ARRAY_TRAITS(Type, type, TYPE, elementType, size) \
5088 class Type##ArrayTraits { \ 5088 class Type##ArrayTraits { \
5089 public: \ 5089 public: /* NOLINT */ \
5090 typedef elementType ElementType; \ 5090 typedef elementType ElementType; \
5091 static const InstanceType kInstanceType = FIXED_##TYPE##_ARRAY_TYPE; \ 5091 static const InstanceType kInstanceType = FIXED_##TYPE##_ARRAY_TYPE; \
5092 static const char* Designator() { return #type " array"; } \ 5092 static const char* Designator() { return #type " array"; } \
5093 static inline Handle<Object> ToHandle(Isolate* isolate, \ 5093 static inline Handle<Object> ToHandle(Isolate* isolate, \
5094 elementType scalar); \ 5094 elementType scalar); \
5095 static inline elementType defaultValue(); \ 5095 static inline elementType defaultValue(); \
5096 }; \ 5096 }; \
5097 \ 5097 \
5098 typedef FixedTypedArray<Type##ArrayTraits> Fixed##Type##Array; 5098 typedef FixedTypedArray<Type##ArrayTraits> Fixed##Type##Array;
5099 5099
5100 TYPED_ARRAYS(FIXED_TYPED_ARRAY_TRAITS) 5100 TYPED_ARRAYS(FIXED_TYPED_ARRAY_TRAITS)
5101 5101
5102 #undef FIXED_TYPED_ARRAY_TRAITS 5102 #undef FIXED_TYPED_ARRAY_TRAITS
5103 5103
5104 // DeoptimizationInputData is a fixed array used to hold the deoptimization 5104 // DeoptimizationInputData is a fixed array used to hold the deoptimization
5105 // data for code generated by the Hydrogen/Lithium compiler. It also 5105 // data for code generated by the Hydrogen/Lithium compiler. It also
(...skipping 6014 matching lines...) Expand 10 before | Expand all | Expand 10 after
11120 } else { 11120 } else {
11121 value &= ~(1 << bit_position); 11121 value &= ~(1 << bit_position);
11122 } 11122 }
11123 return value; 11123 return value;
11124 } 11124 }
11125 }; 11125 };
11126 11126
11127 } } // namespace v8::internal 11127 } } // namespace v8::internal
11128 11128
11129 #endif // V8_OBJECTS_H_ 11129 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/simulator-mips.cc ('k') | src/preparse-data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698