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

Side by Side Diff: src/code-stubs.h

Issue 1219943002: Expose SIMD.Float32x4 type to Javascript. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Back out changes to include/v8.h Created 5 years, 5 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 | « src/bootstrapper.cc ('k') | src/code-stubs.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 // 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_CODE_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 2831 matching lines...) Expand 10 before | Expand all | Expand 10 after
2842 public: 2842 public:
2843 enum Type { 2843 enum Type {
2844 UNDEFINED, 2844 UNDEFINED,
2845 BOOLEAN, 2845 BOOLEAN,
2846 NULL_TYPE, 2846 NULL_TYPE,
2847 SMI, 2847 SMI,
2848 SPEC_OBJECT, 2848 SPEC_OBJECT,
2849 STRING, 2849 STRING,
2850 SYMBOL, 2850 SYMBOL,
2851 HEAP_NUMBER, 2851 HEAP_NUMBER,
2852 SIMD_VALUE,
2852 NUMBER_OF_TYPES 2853 NUMBER_OF_TYPES
2853 }; 2854 };
2854 2855
2855 enum ResultMode { 2856 enum ResultMode {
2856 RESULT_AS_SMI, // For Smi(1) on truthy value, Smi(0) otherwise. 2857 RESULT_AS_SMI, // For Smi(1) on truthy value, Smi(0) otherwise.
2857 RESULT_AS_ODDBALL, // For {true} on truthy value, {false} otherwise. 2858 RESULT_AS_ODDBALL, // For {true} on truthy value, {false} otherwise.
2858 RESULT_AS_INVERSE_ODDBALL // For {false} on truthy value, {true} otherwise. 2859 RESULT_AS_INVERSE_ODDBALL // For {false} on truthy value, {true} otherwise.
2859 }; 2860 };
2860 2861
2861 // At most 16 different types can be distinguished, because the Code object 2862 // At most 16 different types can be distinguished, because the Code object
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
3082 #undef DEFINE_PLATFORM_CODE_STUB 3083 #undef DEFINE_PLATFORM_CODE_STUB
3083 #undef DEFINE_HANDLER_CODE_STUB 3084 #undef DEFINE_HANDLER_CODE_STUB
3084 #undef DEFINE_HYDROGEN_CODE_STUB 3085 #undef DEFINE_HYDROGEN_CODE_STUB
3085 #undef DEFINE_CODE_STUB 3086 #undef DEFINE_CODE_STUB
3086 #undef DEFINE_CODE_STUB_BASE 3087 #undef DEFINE_CODE_STUB_BASE
3087 3088
3088 extern Representation RepresentationFromType(Type* type); 3089 extern Representation RepresentationFromType(Type* type);
3089 } } // namespace v8::internal 3090 } } // namespace v8::internal
3090 3091
3091 #endif // V8_CODE_STUBS_H_ 3092 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698