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

Side by Side Diff: src/objects.h

Issue 2555243002: [wasm] Fix location for error in asm.js ToNumber conversion (Closed)
Patch Set: Fix gc error by storing callee_pc_address Created 4 years 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/messages.cc ('k') | src/wasm/module-decoder.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 3114 matching lines...) Expand 10 before | Expand all | Expand 10 after
3125 inline bool IsAsmJsWasmFrame(int frame_ix) const; 3125 inline bool IsAsmJsWasmFrame(int frame_ix) const;
3126 inline int FrameCount() const; 3126 inline int FrameCount() const;
3127 3127
3128 void ShrinkToFit(); 3128 void ShrinkToFit();
3129 3129
3130 // Flags. 3130 // Flags.
3131 static const int kIsWasmFrame = 1 << 0; 3131 static const int kIsWasmFrame = 1 << 0;
3132 static const int kIsAsmJsWasmFrame = 1 << 1; 3132 static const int kIsAsmJsWasmFrame = 1 << 1;
3133 static const int kIsStrict = 1 << 2; 3133 static const int kIsStrict = 1 << 2;
3134 static const int kForceConstructor = 1 << 3; 3134 static const int kForceConstructor = 1 << 3;
3135 static const int kAsmJsAtNumberConversion = 1 << 4;
3135 3136
3136 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in, 3137 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in,
3137 Handle<Object> receiver, 3138 Handle<Object> receiver,
3138 Handle<JSFunction> function, 3139 Handle<JSFunction> function,
3139 Handle<AbstractCode> code, int offset, 3140 Handle<AbstractCode> code, int offset,
3140 int flags); 3141 int flags);
3141 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in, 3142 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in,
3142 Handle<Object> wasm_instance, 3143 Handle<Object> wasm_instance,
3143 int wasm_function_index, 3144 int wasm_function_index,
3144 Handle<AbstractCode> code, 3145 Handle<AbstractCode> code,
(...skipping 8863 matching lines...) Expand 10 before | Expand all | Expand 10 after
12008 } 12009 }
12009 return value; 12010 return value;
12010 } 12011 }
12011 }; 12012 };
12012 12013
12013 12014
12014 } // NOLINT, false-positive due to second-order macros. 12015 } // NOLINT, false-positive due to second-order macros.
12015 } // NOLINT, false-positive due to second-order macros. 12016 } // NOLINT, false-positive due to second-order macros.
12016 12017
12017 #endif // V8_OBJECTS_H_ 12018 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/messages.cc ('k') | src/wasm/module-decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698