projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1398078
)
X87: fix debug checks for api callbacks returning symbols
author
cdai2
<chunyang.dai@intel.com>
Wed, 21 Jan 2015 05:25:05 +0000
(13:25 +0800)
committer
cdai2
<chunyang.dai@intel.com>
Wed, 21 Jan 2015 05:26:03 +0000
(
05:26
+0000)
port
3eb589976a979fa80f0934a3754ebc79d289b713
.
original commit message:
fix debug checks for api callbacks returning symbols
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
864733002
Cr-Commit-Position: refs/heads/master@{#26176}
src/x87/macro-assembler-x87.cc
patch
|
blob
|
history
diff --git
a/src/x87/macro-assembler-x87.cc
b/src/x87/macro-assembler-x87.cc
index
5615d4d
..
b9693d1
100644
(file)
--- a/
src/x87/macro-assembler-x87.cc
+++ b/
src/x87/macro-assembler-x87.cc
@@
-2153,8
+2153,8
@@
void MacroAssembler::CallApiFunctionAndReturn(
JumpIfSmi(return_value, &ok, Label::kNear);
mov(map, FieldOperand(return_value, HeapObject::kMapOffset));
- CmpInstanceType(map,
FIRST_NONSTRING
_TYPE);
- j(below, &ok, Label::kNear);
+ CmpInstanceType(map,
LAST_NAME
_TYPE);
+ j(below
_equal
, &ok, Label::kNear);
CmpInstanceType(map, FIRST_SPEC_OBJECT_TYPE);
j(above_equal, &ok, Label::kNear);